pgsql: Rename NodeTag of ExprState

2021-07-20 Thread Peter Eisentraut
Rename NodeTag of ExprState Rename from tag to type, for consistency with all other node structs. Discussion: https://www.postgresql.org/message-id/flat/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d9a38c52c

pgsql: More improvements of error messages about mismatching relkind

2021-07-20 Thread Peter Eisentraut
More improvements of error messages about mismatching relkind Follow-up to 2ed532ee8c474e9767e76e1f3251cc3a0224358c, a few error messages in the logical replication area currently only deal with tables, but if we're anticipating more relkinds such as sequences being handled, then these messages al

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- master Det

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- REL_14_STAB

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- REL_13_STAB

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- REL_12_STAB

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- REL_11_STAB

pgsql: doc: Document that only superusers can use pg_import_system_coll

2021-07-20 Thread Fujii Masao
doc: Document that only superusers can use pg_import_system_collations(). Back-patch to v10 where pg_import_system_collations() was added. Author: Atsushi Torikoshi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/[email protected] Branch -- REL_10_STAB

pgsql: Make XLOG_FPI_FOR_HINT records honor full_page_writes setting.

2021-07-20 Thread Fujii Masao
Make XLOG_FPI_FOR_HINT records honor full_page_writes setting. Commit 2c03216d83 changed XLOG_FPI_FOR_HINT records so that they always included full-page images even when full_page_writes was disabled. However, in this setting, they don't need to do that because hint bit updates don't need to be p

Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows

2021-07-20 Thread Michael Paquier
On Tue, Jul 20, 2021 at 05:33:52PM -0400, Andrew Dunstan wrote: > fairywren doesn't seem to like this. Indeed, it doesn't. The logs don't offer much, and I am not sure if this is a problem that happens when opening the first segment, or if that's the first write. The starting position is good: p

pgsql: doc: PG 14 relnote adjustments

2021-07-20 Thread Bruce Momjian
doc: PG 14 relnote adjustments Reported-by: Elena Indrupskaya Discussion: https://postgr.es/m/[email protected] Author: Elena Indrupskaya Backpatch-through: 14 only Branch -- REL_14_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f8d1333

Re: pgsql: Re-enable TAP tests of pg_receivewal for ZLIB on Windows

2021-07-20 Thread Andrew Dunstan
On 7/19/21 11:23 PM, Michael Paquier wrote: > Re-enable TAP tests of pg_receivewal for ZLIB on Windows > > This is a revert of 6cea447, that disabled those tests temporarily on > Windows due to failures with bowerbird where gzflush() would fail when > executed on a freshly-opened compressed and p

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul

pgsql: Fix corner-case uninitialized-variable issues in plpgsql.

2021-07-20 Thread Tom Lane
Fix corner-case uninitialized-variable issues in plpgsql. If an error was raised during our initial attempt to check whether a successfully-compiled expression is "simple", subsequent calls of exec_stmt_execsql would suppose that stmt->mod_stmt was already computed when it had not been. This coul