pgsql: Remove unused for_all_tables field from AlterPublicationStmt.

2025-09-26 Thread Masahiko Sawada
Remove unused for_all_tables field from AlterPublicationStmt. No backpatch as AlterPublicationStmt struct is exposed. Reviewed-by: Chao Li Reviewed-by: Michael Paquier Reviewed-by: Álvaro Herrera Discussion: https://postgr.es/m/CAD21AoC6B6AuxWOST-TkxUbDgp8FwX=blejzmklg_vrh-hf...@mail.gmail.co

pgsql: Split vacuumdb to create vacuuming.c/h

2025-09-26 Thread Álvaro Herrera
Split vacuumdb to create vacuuming.c/h This allows these routines to be reused by a future utility heavily based on vacuumdb. I made a few relatively minor changes from the original, most notably: - objfilter was declared as an enum but the values are bit-or'ed, and individual bits are tested

pgsql: Create a separate file listing backend types

2025-09-26 Thread Álvaro Herrera
Create a separate file listing backend types Use our established coding pattern to reduce maintenance pain when adding other per-process-type characteristics. Like PG_KEYWORD, PG_CMDTAG, PG_RMGR. To keep the strings translatable, the relevant makefile now also scans src/include for this specific

pgsql: pgbench: Fix assertion failure with retriable errors in pipeline

2025-09-26 Thread Fujii Masao
pgbench: Fix assertion failure with retriable errors in pipeline mode. When running pgbench with --verbose-errors option and a custom script that triggered retriable errors (e.g., serialization errors) in pipeline mode, an assertion failure could occur: Assertion failed: (sql_script[st->use_f

pgsql: pgbench: Fix assertion failure with retriable errors in pipeline

2025-09-26 Thread Fujii Masao
pgbench: Fix assertion failure with retriable errors in pipeline mode. When running pgbench with --verbose-errors option and a custom script that triggered retriable errors (e.g., serialization errors) in pipeline mode, an assertion failure could occur: Assertion failed: (sql_script[st->use_f

pgsql: pgbench: Fix assertion failure with retriable errors in pipeline

2025-09-26 Thread Fujii Masao
pgbench: Fix assertion failure with retriable errors in pipeline mode. When running pgbench with --verbose-errors option and a custom script that triggered retriable errors (e.g., serialization errors) in pipeline mode, an assertion failure could occur: Assertion failed: (sql_script[st->use_f

pgsql: pgbench: Fix assertion failure with retriable errors in pipeline

2025-09-26 Thread Fujii Masao
pgbench: Fix assertion failure with retriable errors in pipeline mode. When running pgbench with --verbose-errors option and a custom script that triggered retriable errors (e.g., serialization errors) in pipeline mode, an assertion failure could occur: Assertion failed: (sql_script[st->use_f