[COMMITTERS] pgsql: Fire per-statement triggers on partitioned tables.

2017-05-01 Thread Robert Haas
Fire per-statement triggers on partitioned tables. Even though no actual tuples are ever inserted into a partitioned table (the actual tuples are in the partitions, not the partitioned table itself), we still need to have a ResultRelInfo for the partitioned table, or per-statement triggers won't g

[COMMITTERS] pgsql: Fix logical replication launcher wake up and reset

2017-05-01 Thread Peter Eisentraut
Fix logical replication launcher wake up and reset After the logical replication launcher was told to wake up at commit (for example, by a CREATE SUBSCRIPTION command), the flag to wake up was not reset, so it would be woken up at every following commit as well. So fix that by resetting the flag.

[COMMITTERS] pgsql: Allow vcregress.pl to run an arbitrary TAP test set

2017-05-01 Thread Andrew Dunstan
Allow vcregress.pl to run an arbitrary TAP test set Currently only provision for running the bin checks in a single step is provided for. Now these tests can be run individually, as well as tests in other locations (e.g. src.test/recover). Also provide for suppressing unnecessary temp installs by

[COMMITTERS] pgsql: Allow vcregress.pl to run an arbitrary TAP test set

2017-05-01 Thread Andrew Dunstan
Allow vcregress.pl to run an arbitrary TAP test set Currently only provision for running the bin checks in a single step is provided for. Now these tests can be run individually, as well as tests in other locations (e.g. src.test/recover). Also provide for suppressing unnecessary temp installs by

[COMMITTERS] pgsql: Allow vcregress.pl to run an arbitrary TAP test set

2017-05-01 Thread Andrew Dunstan
Allow vcregress.pl to run an arbitrary TAP test set Currently only provision for running the bin checks in a single step is provided for. Now these tests can be run individually, as well as tests in other locations (e.g. src.test/recover). Also provide for suppressing unnecessary temp installs by

[COMMITTERS] pgsql: Allow vcregress.pl to run an arbitrary TAP test set

2017-05-01 Thread Andrew Dunstan
Allow vcregress.pl to run an arbitrary TAP test set Currently only provision for running the bin checks in a single step is provided for. Now these tests can be run individually, as well as tests in other locations (e.g. src.test/recover). Also provide for suppressing unnecessary temp installs by

[COMMITTERS] pgsql: libpq: Fix inadvertent change in .pgpass lookup behavior.

2017-05-01 Thread Robert Haas
libpq: Fix inadvertent change in .pgpass lookup behavior. Commit 274bb2b3857cc987cfa21d14775cae9b0dababa5 caused password file lookups to use the hostaddr in preference to the host, but that was not intended and the documented behavior is the opposite. Report and patch by Kyotaro Horiguchi. Disc

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Update time zone data files to tzdata release 2017b.

2017-05-01 Thread Tom Lane
Update time zone data files to tzdata release 2017b. DST law changes in Chile, Haiti, and Mongolia. Historical corrections for Ecuador, Kazakhstan, Liberia, and Spain. The IANA crew continue their campaign to replace invented time zone abbrevations with numeric GMT offsets. This update changes

[COMMITTERS] pgsql: Fix mis-optimization of semijoins with more than one LHS relatio

2017-05-01 Thread Tom Lane
Fix mis-optimization of semijoins with more than one LHS relation. The inner-unique patch (commit 9c7f5229a) supposed that if we're considering a JOIN_UNIQUE_INNER join path, we can always set inner_unique for the join, because the inner path produced by create_unique_path should be unique relativ

[COMMITTERS] pgsql: Reduce semijoins with unique inner relations to plain inner join

2017-05-01 Thread Tom Lane
Reduce semijoins with unique inner relations to plain inner joins. If the inner relation can be proven unique, that is it can have no more than one matching row for any row of the outer query, then we might as well implement the semijoin as a plain inner join, allowing substantially more freedom t

[COMMITTERS] pgsql: Improve function header comment for create_singleton_array().

2017-05-01 Thread Tom Lane
Improve function header comment for create_singleton_array(). Mentioning the caller is neither future-proof nor an adequate substitute for giving an API specification. Per gripe from Neha Khatri, though I changed the patch around some. Discussion: https://postgr.es/m/cafo0u+_fs5srhzq6upg+4fberh

[COMMITTERS] pgsql: Don't wake up logical replication launcher unnecessarily

2017-05-01 Thread Peter Eisentraut
Don't wake up logical replication launcher unnecessarily In CREATE SUBSCRIPTION, only wake up the launcher when the subscription is enabled. Author: Fujii Masao Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a99448ab4515aaadc17647e53633f418893f5adf Modified File