pgsql: Fix incorrect #endif comment

2025-03-09 Thread David Rowley
Fix incorrect #endif comment Noticed while reading code in this area. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e033696596566d422a0eae47adca371a210ed730 Modified Files -- src/include/partitioning/partdesc.h | 2 +- 1 file changed, 1 insertion(+), 1

pgsql: Fix test name and username used in failed connection attempts

2025-03-09 Thread Heikki Linnakangas
Fix test name and username used in failed connection attempts The first failed connection tests the "regular" connections limit, not the reserved limit. In the second failed connection, the username doesn't really matter, but since the previous successful connections used "regress_reserved", it s

pgsql: Fix incorrect assertion in libpqwalreceiver

2025-03-09 Thread Heikki Linnakangas
Fix incorrect assertion in libpqwalreceiver Was supposed to check the length of the array, but was checking its size in bytes. Author: Jacob Brazeal Discussion: https://www.postgresql.org/message-id/ca%2bcozaa_9afjxj9zuo73u5p7wxp%2bzm9ngnzvtdcmbfz0fgp%2...@mail.gmail.com Branch -- master

pgsql: Don't try to parallelize array_agg() on an anonymous record type

2025-03-09 Thread Tom Lane
Don't try to parallelize array_agg() on an anonymous record type. This doesn't work because record_recv requires the typmod that identifies the specific record type (in our session) and array_agg_deserialize has no convenient way to get that information. The result is an "input of anonymous compos

pgsql: Don't try to parallelize array_agg() on an anonymous record type

2025-03-09 Thread Tom Lane
Don't try to parallelize array_agg() on an anonymous record type. This doesn't work because record_recv requires the typmod that identifies the specific record type (in our session) and array_agg_deserialize has no convenient way to get that information. The result is an "input of anonymous compos

pgsql: Don't try to parallelize array_agg() on an anonymous record type

2025-03-09 Thread Tom Lane
Don't try to parallelize array_agg() on an anonymous record type. This doesn't work because record_recv requires the typmod that identifies the specific record type (in our session) and array_agg_deserialize has no convenient way to get that information. The result is an "input of anonymous compos