pgsql: libpq: Remove a gettext marker

2024-06-11 Thread Peter Eisentraut
libpq: Remove a gettext marker This one error message is just a workaround for a missing OpenSSL error string. But OpenSSL does not have gettext support, so we don't need to provide it in our workaround either. That way, the user-facing behavior is consistent whether the user has a fixed OpenSSL

pgsql: Fix typo in error message

2024-06-11 Thread Peter Eisentraut
Fix typo in error message Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/f376996bb7fe621ac53279a81d475b214e492018 Modified Files -- src/interfaces/libpq/fe-connect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

pgsql: Fix segmentation fault in test_tidstore.

2024-06-11 Thread Masahiko Sawada
Fix segmentation fault in test_tidstore. The do_set_block_offsets() and other functions accessing the tidstore did not check if the tidstore was NULL. This led to a segmentation fault when these functions are called without calling the test_create(). This commit adds NULL checks in relevant funct

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix infer_arbiter_indexes() to not assume resultRelation is 1.

2024-06-11 Thread Tom Lane
Fix infer_arbiter_indexes() to not assume resultRelation is 1. infer_arbiter_indexes failed to renumber varnos in index expressions or predicates that it got from the catalogs. This escaped detection up to now because the stored varnos in such trees will be 1, and an INSERT's result relation is u

pgsql: Fix creation of partition descriptor during concurrent detach

2024-06-11 Thread Alvaro Herrera
Fix creation of partition descriptor during concurrent detach When a partition is being detached in concurrent mode, it is possible for find_inheritance_children_extended() to return that partition in the list, and immediately after that receive an invalidation message that sets its relpartbound t

pgsql: Fix creation of partition descriptor during concurrent detach

2024-06-11 Thread Alvaro Herrera
Fix creation of partition descriptor during concurrent detach When a partition is being detached in concurrent mode, it is possible for find_inheritance_children_extended() to return that partition in the list, and immediately after that receive an invalidation message that sets its relpartbound t

pgsql: Fix creation of partition descriptor during concurrent detach

2024-06-11 Thread Alvaro Herrera
Fix creation of partition descriptor during concurrent detach When a partition is being detached in concurrent mode, it is possible for find_inheritance_children_extended() to return that partition in the list, and immediately after that receive an invalidation message that sets its relpartbound t

pgsql: Fix creation of partition descriptor during concurrent detach

2024-06-11 Thread Alvaro Herrera
Fix creation of partition descriptor during concurrent detach When a partition is being detached in concurrent mode, it is possible for find_inheritance_children_extended() to return that partition in the list, and immediately after that receive an invalidation message that sets its relpartbound t