postgresql/src/include
Andres Freund 2776922201 Assert in init_toast_snapshot() that some snapshot registered or active.
Commit <FIXME> fixed the bug that RemoveTempRelationsCallback() did not
push/register a snapshot. That only went unnoticed because often a valid
catalog snapshot exists and is returned by GetOldestSnapshot(). But due to
invalidation processing that is not reliable.

Thus assert in init_toast_snapshot() that there is a registered or active
snapshot, using the new HaveRegisteredOrActiveSnapshot().

Author: Andres Freund
Discussion: https://postgr.es/m/20220219180002.6tubjq7iw7m52bgd@alap3.anarazel.de
2022-02-21 08:58:29 -08:00
..
access Split xlog.c into xlog.c and xlogrecovery.c. 2022-02-16 09:30:38 +02:00
bootstrap Update copyright for 2022 2022-01-07 19:04:57 -05:00
catalog Database-level collation version tracking 2022-02-14 08:27:26 +01:00
commands Database-level collation version tracking 2022-02-14 08:27:26 +01:00
common Remove IS_AF_UNIX macro 2022-02-15 10:16:34 +01:00
datatype Update copyright for 2022 2022-01-07 19:04:57 -05:00
executor Update copyright for 2022 2022-01-07 19:04:57 -05:00
fe_utils Update copyright for 2022 2022-01-07 19:04:57 -05:00
foreign Update copyright for 2022 2022-01-07 19:04:57 -05:00
jit Update copyright for 2022 2022-01-07 19:04:57 -05:00
lib Fix missing undefine in sort_template.h 2022-01-31 15:10:01 -05:00
libpq Use WL_SOCKET_CLOSED for client_connection_check_interval. 2022-02-14 16:52:23 +13:00
mb Update copyright for 2022 2022-01-07 19:04:57 -05:00
nodes Database-level collation version tracking 2022-02-14 08:27:26 +01:00
optimizer Update copyright for 2022 2022-01-07 19:04:57 -05:00
parser Fix failure to validate the result of select_common_type(). 2022-01-29 11:41:18 -05:00
partitioning Update copyright for 2022 2022-01-07 19:04:57 -05:00
port Use bitwise rotate functions in more places 2022-02-20 13:22:08 +07:00
portability Update copyright for 2022 2022-01-07 19:04:57 -05:00
postmaster Allow archiving via loadable modules. 2022-02-03 14:05:02 -05:00
regex Update copyright for 2022 2022-01-07 19:04:57 -05:00
replication Move replication slot release to before_shmem_exit(). 2022-02-14 17:08:17 -08:00
rewrite Update copyright for 2022 2022-01-07 19:04:57 -05:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Add stxdinherit flag to pg_statistic_ext_data 2022-01-16 13:38:01 +01:00
storage Add WL_SOCKET_CLOSED for socket shutdown events. 2022-02-14 16:52:23 +13:00
tcop Update copyright for 2022 2022-01-07 19:04:57 -05:00
tsearch Update copyright for 2022 2022-01-07 19:04:57 -05:00
utils Assert in init_toast_snapshot() that some snapshot registered or active. 2022-02-21 08:58:29 -08:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
fmgr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
funcapi.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
getaddrinfo.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
getopt_long.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Build in some knowledge about foreign-key relationships in the catalogs. 2021-02-02 17:11:55 -05:00
miscadmin.h Remove MaxBackends variable in favor of GetMaxBackends() function. 2022-02-08 15:53:19 -05:00
pg_config.h.in Add support for building with ZSTD. 2022-02-18 13:40:31 -05:00
pg_config_ext.h.in Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
pg_config_manual.h Fix DROP {DATABASE,TABLESPACE} on Windows. 2022-02-12 10:21:23 +13:00
pg_getopt.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_trace.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgstat.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgtar.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
pgtime.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
port.h Clean up messy API for src/port/thread.c. 2022-01-11 13:46:20 -05:00
postgres.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
postgres_ext.h Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
postgres_fe.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
rusagestub.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
windowapi.h Update copyright for 2022 2022-01-07 19:04:57 -05:00