pgsql: Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner

2023-09-12 Thread Amit Kapila
Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner option. Reported-by: Jeff Davis Author: Hou Zhijie Reviewed-by: Amit Kapila Backpatch-through: 16 Discussion: http://postgr.es/m/17b62714fd115bd1899afd922954540a5c6a0467.ca...@j-davis.com Branch -- REL_16_STABLE Details

pgsql: Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner

2023-09-12 Thread Amit Kapila
Fix the ALTER SUBSCRIPTION to reflect the change in run_as_owner option. Reported-by: Jeff Davis Author: Hou Zhijie Reviewed-by: Amit Kapila Backpatch-through: 16 Discussion: http://postgr.es/m/17b62714fd115bd1899afd922954540a5c6a0467.ca...@j-davis.com Branch -- master Details ---

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Fix exception safety bug in typcache.c.

2023-09-12 Thread Thomas Munro
Fix exception safety bug in typcache.c. If an out-of-memory error was thrown at an unfortunate time, ensure_record_cache_typmod_slot_exists() could leak memory and leave behind a global state that produced an infinite loop on the next call. Fix by merging RecordCacheArray and

pgsql: Switch psql's TAP test for query cancellation to use IPC::Run::s

2023-09-12 Thread Michael Paquier
Switch psql's TAP test for query cancellation to use IPC::Run::signal() Previously, the test relied on a trick with a shell to retrieve the PID of the psql session to be stopped with SIGINT, that was skipped on Windows. This commit changes the test to use IPC::Run::signal() instead, which still

pgsql: Skip psql's TAP test for query cancellation entirely on Windows

2023-09-12 Thread Michael Paquier
Skip psql's TAP test for query cancellation entirely on Windows This changes 020_cancel.pl so as the test is entirely skipped on Windows. This test was already doing nothing under WIN32, except initializing and starting a node without using it so this shaves a few test cycles. Author: Yugo

pgsql: Skip psql's TAP test for query cancellation entirely on Windows

2023-09-12 Thread Michael Paquier
Skip psql's TAP test for query cancellation entirely on Windows This changes 020_cancel.pl so as the test is entirely skipped on Windows. This test was already doing nothing under WIN32, except initializing and starting a node without using it so this shaves a few test cycles. Author: Yugo

pgsql: Skip psql's TAP test for query cancellation entirely on Windows

2023-09-12 Thread Michael Paquier
Skip psql's TAP test for query cancellation entirely on Windows This changes 020_cancel.pl so as the test is entirely skipped on Windows. This test was already doing nothing under WIN32, except initializing and starting a node without using it so this shaves a few test cycles. Author: Yugo

pgsql: Tag refs/tags/REL_16_0 was created

2023-09-12 Thread noreply
Tag refs/tags/REL_16_0 was created.