aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeHash.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2023-12-07 08:42:48 +0530
committerAmit Kapila <akapila@postgresql.org>2023-12-07 08:42:48 +0530
commit0bf62460bb9e86101d24e31e915c2e8922675296 (patch)
treea106f9e1152d03df618ca5000671014eebd88932 /src/backend/executor/nodeHash.c
parentc426f7c2b36a5efd9bcef2a2dfcc559f7879cd84 (diff)
downloadpostgresql-0bf62460bb9e86101d24e31e915c2e8922675296.tar.gz
postgresql-0bf62460bb9e86101d24e31e915c2e8922675296.zip
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
Diffstat (limited to 'src/backend/executor/nodeHash.c')
0 files changed, 0 insertions, 0 deletions