pgsql: Fix bulk table extension when copying into multiple partitions

2023-10-13 Thread Andres Freund
Fix bulk table extension when copying into multiple partitions When COPYing into a partitioned table that does now permit the use of table_multi_insert(), we could error out with ERROR: could not read block NN in file "base/...": read only 0 of 8192 bytes because BulkInsertState->next_free was

pgsql: Fix bulk table extension when copying into multiple partitions

2023-10-13 Thread Andres Freund
Fix bulk table extension when copying into multiple partitions When COPYing into a partitioned table that does now permit the use of table_multi_insert(), we could error out with ERROR: could not read block NN in file "base/...": read only 0 of 8192 bytes because BulkInsertState->next_free was

pgsql: Improve the naming in wal_sync_method code.

2023-10-13 Thread Nathan Bossart
Improve the naming in wal_sync_method code. * sync_method is renamed to wal_sync_method. * sync_method_options[] is renamed to wal_sync_method_options[]. * assign_xlog_sync_method() is renamed to assign_wal_sync_method(). * The names of the available synchronization methods are now prefixed w

pgsql: Update oldextversions test for pg_stat_statements 1.11

2023-10-13 Thread Daniel Gustafsson
Update oldextversions test for pg_stat_statements 1.11 Commit 5a3423ad8e updated pg_stat_statements to 1.11 due to added columns in the view for jit deform counters. Fixing oldextversion was however missed in that commit. This adds a test for the 1.11 version view definition. Author: Nazir Bilal

pgsql: Doc: Add more links in logical replication pages.

2023-10-13 Thread Amit Kapila
Doc: Add more links in logical replication pages. The logical replication pages in the docs mostly have links to corresponding pub/sub commands whenever they are mentioned, but there were some omissions. This patch adds the missing links. Author: Peter Smith Reviewed-by: Vignesh C, Amit Kapila Di