postgresql/src
Amit Kapila 735e8fe685 Refactor replorigin_session_setup() for better readability.
Reorder the validation checks in replorigin_session_setup() to provide a
more logical flow. This makes the function easier to follow and ensures
that basic state checks are performed consistently.

Additionally, update an error message to align its phrasing with similar
diagnostics in the replication origin subsystem, improving overall
consistency.

Author: Heikki Linnakangas <hlinnaka@iki.fi>
Reviewed-by: shveta malik <shveta.malik@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/e0508305-bc6a-417c-b969-36564d632f9e@iki.fi
2026-03-26 09:15:25 +05:30
..
backend Refactor replorigin_session_setup() for better readability. 2026-03-26 09:15:25 +05:30
bin Remove a low-value, high-risk optimization in pg_waldump. 2026-03-25 19:15:52 -04:00
common Make implementation of SASLprep compliant for ASCII characters 2026-03-24 08:29:23 +09:00
fe_utils Fix poorly-sized buffers in astreamer compression modules. 2026-03-24 12:17:12 -04:00
include Refactor to remove ForeignServerName(). 2026-03-24 15:20:28 -07:00
interfaces Fix -Wstrict-prototypes warning in ecpg_init_sqlca() declaration. 2026-03-18 15:27:49 -04:00
makefiles meson: Add {perl|python}_includespec to generated Makefile.global 2026-03-18 11:09:14 +01:00
pl Bounds-check access to TupleDescAttr with an Assert. 2026-03-24 08:58:50 -04:00
port Refactor handling of x86 CPUID instructions 2026-03-25 12:32:36 +07:00
template Switch the semaphore API on Solaris to unnamed POSIX. 2026-03-14 14:10:32 -04:00
test Fix UUID sortability tests in base32hex encoding. 2026-03-25 20:12:26 -07:00
timezone Use fallthrough attribute instead of comment 2026-02-19 08:51:12 +01:00
tools Remove XLOG_HEAP2_VISIBLE entirely 2026-03-24 17:58:12 -04:00
tutorial Force standard_conforming_strings to always be ON. 2026-01-21 15:08:38 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Update Unicode data to Unicode 17.0.0 2026-03-20 08:42:50 +01:00
Makefile.shlib Restore AIX support. 2026-02-23 13:34:22 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00