postgresql/src
Michael Paquier efa70c15c7 Make GetSlotInvalidationCause() return RS_INVAL_NONE on unexpected input
943f7ae1c8 has changed GetSlotInvalidationCause() so as it would
return the last element of SlotInvalidationCauses[] when an incorrect
conflict reason name is given by a caller, but this should return
RS_INVAL_NONE in such cases, even if such a state should never be
reached in practice.

Per gripe from Peter Smith.

Reviewed-by: Bharath Rupireddy
Discussion: https://postgr.es/m/CAHut+PtsrSWxczpGkSaSVtJo+BXrvJ3Hwp5gES14bbL-G+HL7A@mail.gmail.com
2024-02-22 19:59:58 +09:00
..
backend Make GetSlotInvalidationCause() return RS_INVAL_NONE on unexpected input 2024-02-22 19:59:58 +09:00
bin Add option force_initdb to PostgreSQL::Test::Cluster:init() 2024-02-21 13:28:51 +09:00
common Refactor pipe_read_line to return the full line 2024-02-09 15:03:16 +01:00
fe_utils Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
include Add a new slot sync worker to synchronize logical slots. 2024-02-22 15:25:15 +05:30
interfaces ecpg: Fix zero-termination of string generated by intoasc() 2024-02-19 11:38:18 +09:00
makefiles Add backend support for injection points 2024-01-22 10:15:50 +09:00
pl Fix plpgsql to allow new-style SQL CREATE FUNCTION as a SQL command. 2024-01-18 16:11:16 -05:00
port Centralize logic for restoring errno in signal handlers. 2024-02-14 16:34:18 -06:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Add a new slot sync worker to synchronize logical slots. 2024-02-22 15:25:15 +05:30
timezone Update time zone data files to tzdata release 2024a. 2024-02-01 15:57:53 -05:00
tools Add a slot synchronization function. 2024-02-14 09:45:36 +05:30
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Remove make function vpathsearch 2024-01-29 07:24:59 +01:00
Makefile.shlib Support shared libraries on Android (using make) 2024-01-23 20:37:49 +01:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00