postgresql/src/include
Amit Kapila 0bf62460bb Fix issues in binary_upgrade_logical_slot_has_caught_up().
The commit 29d0a77fa6 labelled binary_upgrade_logical_slot_has_caught_up()
as a non-strict function to allow providing a better error message to callers
in case the passed slot_name is NULL. On further discussion, it seems that
it is not helpful to have a different error message for NULL input in this
function, so this patch marks the function as strict.

This patch also removes the explicit permission check to use replication
slots as this function is invoked only by superusers and instead adds an
Assert.

Reported-by: Masahiko Sawada
Author: Hayato Kuroda
Reviewed-by: Vignesh C
Discussion: https://postgr.es/m/CAD21AoDSyiBKkMXBxN_gUayZZUCOgyHnG8Ge8rcPXNP3Tf6B4g@mail.gmail.com
2023-12-07 08:42:48 +05:30
..
access Index SLRUs by 64-bit integers rather than by 32-bit integers 2023-11-29 01:40:56 +02:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
bootstrap Stop including parsenodes.h in plannodes.h 2023-11-07 19:26:39 +01:00
catalog Fix issues in binary_upgrade_logical_slot_has_caught_up(). 2023-12-07 08:42:48 +05:30
commands Use larger segment file names for pg_notify 2023-11-29 01:41:48 +02:00
common Fix corner-case 64-bit integer subtraction bug on some platforms. 2023-11-09 09:50:23 +00:00
datatype Support +/- infinity in the interval data type. 2023-11-14 10:58:49 +00:00
executor Retire a few backwards compatibility macros. 2023-11-27 13:10:09 -06:00
fe_utils Avoid overflow in fe_utils' printTable() 2023-11-21 14:55:29 +01:00
foreign Update copyright for 2023 2023-01-02 15:00:37 -05:00
jit jit: Supply LLVMGlobalGetValueType() for LLVM < 8. 2023-10-19 03:01:55 +13:00
lib simplehash: preserve consistency in case of OOM. 2023-11-17 13:58:16 -08:00
libpq Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
mb Restore proper linkage of pg_char_to_encoding() and friends. 2023-10-07 12:08:10 -04:00
nodes Stop including parsenodes.h in plannodes.h 2023-11-07 19:26:39 +01:00
optimizer Remove unnecessary include of <math.h> 2023-12-04 06:35:22 +01:00
parser Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
partitioning Add const to values and nulls arguments 2023-10-10 07:50:43 +02:00
pch Update copyright for 2023 2023-01-02 15:00:37 -05:00
port Optimize pg_readv/pg_pwritev single vector case. 2023-11-29 17:19:25 +13:00
portability instr_time: Represent time as an int64 on all platforms 2023-01-20 21:16:47 -08:00
postmaster Remove now-unnecessary Autovacuum[Launcher|Worker]IAm functions 2023-12-04 15:34:37 +02:00
regex Fix various typos 2023-04-18 13:23:23 +12:00
replication Remove unnecessary include of <sys/socket.h> 2023-12-04 06:35:22 +01:00
rewrite Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
snowball Update copyright for 2023 2023-01-02 15:00:37 -05:00
statistics Add macro for maximum statistics target 2023-07-03 07:18:57 +02:00
storage Refactor CreateSharedMemoryAndSemaphores 2023-12-03 16:09:42 +02:00
tcop Add support for REINDEX in event triggers 2023-12-04 09:53:49 +09:00
tsearch Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
utils Retire a few backwards compatibility macros. 2023-11-27 13:10:09 -06:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
c.h Improve const use in zlib-using code 2023-08-07 09:34:38 +02:00
fmgr.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
funcapi.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
getopt_long.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
meson.build Introduce macros for protocol characters. 2023-08-22 19:16:12 -07:00
miscadmin.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
pg_config.h.in Use BIO_{get,set}_app_data instead of BIO_{get,set}_data. 2023-11-28 12:34:03 -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_ext.h.meson meson: Add initial version of meson based build system 2022-09-21 22:37:17 -07:00
pg_config_manual.h Update PG_CACHE_LINE_SIZE description. 2023-07-03 11:56:30 +03:00
pg_getopt.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_trace.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgstat.h Introduce pg_stat_checkpointer 2023-10-30 09:47:16 +09:00
pgtar.h Add trailing commas to enum definitions 2023-10-26 09:20:54 +02:00
pgtime.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
port.h Rename port/thread.c to port/user.c. 2023-07-09 18:17:09 +12:00
postgres.h New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
postgres_ext.h Move RelFileNumber declarations to common/relpath.h. 2022-09-27 12:01:57 -04:00
postgres_fe.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
varatt.h New header varatt.h split off from postgres.h 2023-01-10 05:54:36 +01:00
windowapi.h Update copyright for 2023 2023-01-02 15:00:37 -05:00