pgsql: Rename enable_incrementalsort for clarity

2020-07-05 Thread Peter Eisentraut
Rename enable_incrementalsort for clarity Author: James Coleman Discussion: https://www.postgresql.org/message-id/flat/df652910-e985-9547-152c-9d4357dc3979%402ndquadrant.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e61225ffab3f8726ecd053b1c22ff249c417f9ba

pgsql: Rename enable_incrementalsort for clarity

2020-07-05 Thread Peter Eisentraut
Rename enable_incrementalsort for clarity Author: James Coleman Discussion: https://www.postgresql.org/message-id/flat/df652910-e985-9547-152c-9d4357dc3979%402ndquadrant.com Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/94e454cddfbae5e32ae7bb70fedd24f243c

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Fix incorrect reference to textout in plpgsql examples

2020-07-05 Thread Michael Paquier
doc: Fix incorrect reference to textout in plpgsql examples This error has survived for 22 years, and has been introduced by da63386. Reported-by: Erwin Brandstetter Discussion: https://postgr.es/m/caghenj57woggovgxo5lgwycqswxaflck8elqhdr+zrktpgs...@mail.gmail.com Backpatch-through: 9.5 Branch

pgsql: doc: Spell checking

2020-07-05 Thread Peter Eisentraut
doc: Spell checking Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/90b2d8c1adc86d1fc46f83c73444a1fb5b28dd3c Modified Files -- contrib/pg_stat_statements/pg_stat_statements.c | 2 +- doc/src/sgml/backup-manifest.sgml | 4 ++-- doc/src/sgml/ex

pgsql: doc: Spell checking

2020-07-05 Thread Peter Eisentraut
doc: Spell checking Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/ffb23488af5e6776935c46370465dcc1704e7540 Modified Files -- contrib/pg_stat_statements/pg_stat_statements.c | 2 +- doc/src/sgml/backup-manifest.sgml | 4 ++-- doc/src/

pgsql: Inline the fast path of plpgsql's exec_cast_value().

2020-07-05 Thread Tom Lane
Inline the fast path of plpgsql's exec_cast_value(). In the common case where this function isn't actually asked to perform any type conversion, there's nothing it has to do beyond comparing the arguments. Arrange for that part to be inlined into callers, with the slower path remaining out-of-lin

pgsql: Improve perl script in MSVC to build binaries

2020-07-05 Thread Michael Paquier
Improve perl script in MSVC to build binaries This commit includes two improvements for build.pl in src/tools/msvc/: - Fix two warnings related to $ARGV[0] being uninitialized, something that happens when calling build.pl (or build.bat) without arguments to compile all the components with a releas

pgsql: Remove unused function parameter in end_parallel_vacuum.

2020-07-05 Thread Amit Kapila
Remove unused function parameter in end_parallel_vacuum. Author: Vignesh C Reviewed-by: Sawada Masahiko Backpatch-through: 13, where it was introduced Discussion: https://postgr.es/m/caldanm3ppt71nafgy5mk3v2i3q+mm93pvibdq-0npw7wu67...@mail.gmail.com Branch -- master Details --- https://

pgsql: Remove unused function parameter in end_parallel_vacuum.

2020-07-05 Thread Amit Kapila
Remove unused function parameter in end_parallel_vacuum. Author: Vignesh C Reviewed-by: Sawada Masahiko Backpatch-through: 13, where it was introduced Discussion: https://postgr.es/m/caldanm3ppt71nafgy5mk3v2i3q+mm93pvibdq-0npw7wu67...@mail.gmail.com Branch -- REL_13_STABLE Details --- h

pgsql: Add new flag to format_type_extended() to get NULL for undefined

2020-07-05 Thread Michael Paquier
Add new flag to format_type_extended() to get NULL for undefined type If a type scanned is undefined, type format routines have two behaviors depending on if FORMAT_TYPE_ALLOW_INVALID is used by the caller or not: - Issue a cache lookup error - Return an undefined type name "???", "???[]" or "-"

pgsql: Remove extra whitespace in comments atop ReorderBufferCheckMemor

2020-07-05 Thread Amit Kapila
Remove extra whitespace in comments atop ReorderBufferCheckMemoryLimit. Backpatch-through: 13, where it was introduced Branch -- REL_13_STABLE Details --- https://git.postgresql.org/pg/commitdiff/e163f3a2b1d987f83e291e86969ed4a91ded6abb Modified Files -- src/backend/replicat

pgsql: Remove extra whitespace in comments atop ReorderBufferCheckMemor

2020-07-05 Thread Amit Kapila
Remove extra whitespace in comments atop ReorderBufferCheckMemoryLimit. Backpatch-through: 13, where it was introduced Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/04c7f4144fec3bcddc82b6abdbfebd88989f7953 Modified Files -- src/backend/replication/log

pgsql: Refactor routines for name lookups of procedures and operators

2020-07-05 Thread Michael Paquier
Refactor routines for name lookups of procedures and operators This introduces a new set of extended routines for procedure and operator name lookups, with a flag bitmask argument that can modify the result. The following options are available: - Force schema qualification, ignoring search_path.

pgsql: doc: Add note about possible performance overhead by enabling tr

2020-07-05 Thread Fujii Masao
doc: Add note about possible performance overhead by enabling track_planning. Enabling pg_stat_statements.track_plaanning may incur a noticeable performance penalty, especially when a fewer kinds of queries are executed on many concurrent connections. This commit documents this note. Back-patch t

pgsql: doc: Add note about possible performance overhead by enabling tr

2020-07-05 Thread Fujii Masao
doc: Add note about possible performance overhead by enabling track_planning. Enabling pg_stat_statements.track_plaanning may incur a noticeable performance penalty, especially when a fewer kinds of queries are executed on many concurrent connections. This commit documents this note. Back-patch t