[COMMITTERS] pgsql: Support domains over composite types in PL/Tcl.

2017-10-26 Thread Tom Lane
Support domains over composite types in PL/Tcl. Since PL/Tcl does little with SQL types internally, this is just a matter of making it work with composite-domain function arguments and results. In passing, make it allow RECORD-type arguments --- that's a trivial change that nobody had bothered

[COMMITTERS] pgsql: Support domains over composite types.

2017-10-26 Thread Tom Lane
Support domains over composite types. This is the last major omission in our domains feature: you can now make a domain over anything that's not a pseudotype. The major complication from an implementation standpoint is that places that might be creating tuples of a domain type now need to be

[COMMITTERS] pgsql: Make setrefs.c match by ressortgroupref even for plain Vars.

2017-10-26 Thread Tom Lane
Make setrefs.c match by ressortgroupref even for plain Vars. Previously, we skipped using search_indexed_tlist_for_sortgroupref() if the tlist expression being sought in the child plan node was merely a Var. This is purely an optimization, based on the theory that search_indexed_tlist_for_var()

[COMMITTERS] pgsql: Make setrefs.c match by ressortgroupref even for plain Vars.

2017-10-26 Thread Tom Lane
Make setrefs.c match by ressortgroupref even for plain Vars. Previously, we skipped using search_indexed_tlist_for_sortgroupref() if the tlist expression being sought in the child plan node was merely a Var. This is purely an optimization, based on the theory that search_indexed_tlist_for_var()

[COMMITTERS] pgsql: Make setrefs.c match by ressortgroupref even for plain Vars.

2017-10-26 Thread Tom Lane
Make setrefs.c match by ressortgroupref even for plain Vars. Previously, we skipped using search_indexed_tlist_for_sortgroupref() if the tlist expression being sought in the child plan node was merely a Var. This is purely an optimization, based on the theory that search_indexed_tlist_for_var()

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL9_6_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL9_5_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL9_4_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL_10_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL9_2_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- REL9_3_STABLE

[COMMITTERS] pgsql: Improve gendef.pl diagnostic on failure to open sym file

2017-10-26 Thread Andrew Dunstan
Improve gendef.pl diagnostic on failure to open sym file There have been numerous buildfarm failures but the diagnostic is currently silent about the reason for failure to open the file. Let's see if we can get to the bottom of it. Backpatch to all live branches. Branch -- master Details

[COMMITTERS] pgsql: Undo inadvertent change in capitalization in commit 18fc4ec.

2017-10-26 Thread Andrew Dunstan
Undo inadvertent change in capitalization in commit 18fc4ec. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/adee9e4e317169463816d005e8bf901333271917 Modified Files -- src/backend/utils/adt/jsonb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[COMMITTERS] pgsql: Undo inadvertent change in capitalization in commit 18fc4ec.

2017-10-26 Thread Andrew Dunstan
Undo inadvertent change in capitalization in commit 18fc4ec. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/aa828819aa59a84b486837b4cc3d7afc739332f5 Modified Files -- src/backend/utils/adt/jsonb.c | 2 +- 1 file changed, 1 insertion(+), 1

[COMMITTERS] pgsql: In relevant log messages, indicate whether vacuums are aggressiv

2017-10-26 Thread Robert Haas
In relevant log messages, indicate whether vacuums are aggressive. Kyotaro Horiguchi, reviewed Masahiko Sawada, David G. Johnston, Álvaro Herrera, and me. Grammar correction to the final posted patch by me. Discussion:

[COMMITTERS] pgsql: Fixed handling of escape character in libecpg.

2017-10-26 Thread Michael Meskes
Fixed handling of escape character in libecpg. Patch by Tsunakawa Takayuki Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/41753604b3d06a4ca0ee4ce9f008e9b0709230c7 Modified Files --

[COMMITTERS] pgsql: Fixed handling of escape character in libecpg.

2017-10-26 Thread Michael Meskes
Fixed handling of escape character in libecpg. Patch by Tsunakawa Takayuki Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/65ba1b5c25365d53c69622f2bd658a309c7206bc Modified Files --

[COMMITTERS] pgsql: Fixed handling of escape character in libecpg.

2017-10-26 Thread Michael Meskes
Fixed handling of escape character in libecpg. Patch by Tsunakawa Takayuki Branch -- REL9_4_STABLE Details --- https://git.postgresql.org/pg/commitdiff/c6a3968889046e1367ec6f6054f776433237631f Modified Files --

[COMMITTERS] pgsql: Fixed handling of escape character in libecpg.

2017-10-26 Thread Michael Meskes
Fixed handling of escape character in libecpg. Patch by Tsunakawa Takayuki Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9b01a21fc10986ca0e7ca349f0f1a2cc55b386f7 Modified Files --

[COMMITTERS] pgsql: Fixed handling of escape character in libecpg.

2017-10-26 Thread Michael Meskes
Fixed handling of escape character in libecpg. Patch by Tsunakawa Takayuki Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/0af98a95cf8397d36202a34cd615f222faf24e9a Modified Files -- src/interfaces/ecpg/ecpglib/execute.c