pgsql: Use errmsg_internal for debug messages

2021-02-17 Thread Peter Eisentraut
Use errmsg_internal for debug messages An inconsistent set of debug-level messages was not using errmsg_internal(), thus uselessly exposing the messages to translation work. Fix those. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/0e392fcc0d5ab73c81d9284e7dda5acb

pgsql: Fix typo

2021-02-17 Thread Magnus Hagander
Fix typo Author: Daniel Gustafsson Discussion: https://postgr.es/m/0cf087fc-bead-4010-8bb9-3cdd74dc9...@yesql.se Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a29f30780f34d7706fcd398dea1d6882d184d17a Modified Files -- doc/src/sgml/ref/create_table.sg

pgsql: Fix typo

2021-02-17 Thread Magnus Hagander
Fix typo Author: Daniel Gustafsson Discussion: https://postgr.es/m/0cf087fc-bead-4010-8bb9-3cdd74dc9...@yesql.se Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/5d319ce86f13d1b0e7fb911408fe012723259723 Modified Files -- doc/src/sgml/ref/create_t

pgsql: Fix typo

2021-02-17 Thread Magnus Hagander
Fix typo Author: Daniel Gustafsson Discussion: https://postgr.es/m/0cf087fc-bead-4010-8bb9-3cdd74dc9...@yesql.se Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/daf2e708edfbc0741f8a229a0c30fdd0168b525e Modified Files -- doc/src/sgml/ref/create_t

pgsql: Fix typo

2021-02-17 Thread Magnus Hagander
Fix typo Author: Daniel Gustafsson Discussion: https://postgr.es/m/0cf087fc-bead-4010-8bb9-3cdd74dc9...@yesql.se Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/6a31b48ec88ae506c6f115948c86f61abb89a89a Modified Files -- doc/src/sgml/ref/create_t

pgsql: Routine usage information schema tables

2021-02-17 Thread Peter Eisentraut
Routine usage information schema tables Several information schema views track dependencies between functions/procedures and objects used by them. These had not been implemented so far because PostgreSQL doesn't track objects used in a function body. However, formally, these also show dependenci

pgsql: Make some minor improvements in the regex code.

2021-02-17 Thread Tom Lane
Make some minor improvements in the regex code. Push some hopefully-uncontroversial bits extracted from an upcoming patch series, to remove non-relevant clutter from the main patches. In compact(), return immediately after setting REG_ASSERT error; continuing the loop would just lead to assertion

pgsql: Fix tuple routing to initialize batching only for inserts

2021-02-17 Thread Tomas Vondra
Fix tuple routing to initialize batching only for inserts A cross-partition update on a partitioned table is implemented as a delete followed by an insert. With foreign partitions, this was however causing issues, because the FDW and core may disagree on when to enable batching. postgres_fdw was

pgsql: Fix pointer type in ExecForeignBatchInsert SGML docs

2021-02-17 Thread Tomas Vondra
Fix pointer type in ExecForeignBatchInsert SGML docs Reported-by: Ian Barwick Discussion: https://postgr.es/m/20200628151002.7x5laxwpgvkyiu3q@development Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/c15283ff429bf318f161bf84768795843b22696d Modified Files ---

pgsql: nbtree README: move VACUUM linear scan section.

2021-02-17 Thread Peter Geoghegan
nbtree README: move VACUUM linear scan section. Discuss VACUUM's linear scan after discussion of tuple deletion by VACUUM, but before discussion of page deletion by VACUUM. This progression is a lot more natural. Also tweak the wording a little. It seems unnecessary to talk about how it worked

pgsql: Allow specifying CRL directory

2021-02-17 Thread Peter Eisentraut
Allow specifying CRL directory Add another method to specify CRLs, hashed directory method, for both server and client side. This offers a means for server or libpq to load only CRLs that are required to verify a certificate. The CRL directory is specifed by separate GUC variables or connection

pgsql: Add tests for bytea LIKE operator

2021-02-17 Thread Peter Eisentraut
Add tests for bytea LIKE operator Add test coverage for the following operations, which were previously not tested at all: bytea LIKE bytea (bytealike) bytea NOT LIKE bytea (byteanlike) ESCAPE clause for the above (like_escape_bytea) also name NOT ILIKE text (nameicnlike) Discussion: https://