[COMMITTERS] pgsql: Allow foreign and custom joins to handle EvalPlanQual rechecks.

2015-12-08 Thread Robert Haas
Allow foreign and custom joins to handle EvalPlanQual rechecks. Commit e7cb7ee14555cc9c5773e2c102efd6371f6f2005 provided basic infrastructure for allowing a foreign data wrapper or custom scan provider to replace a join of one or more tables with a scan. However, this infrastructure failed to take

[COMMITTERS] pgsql: Allow foreign and custom joins to handle EvalPlanQual rechecks.

2015-12-08 Thread Robert Haas
Allow foreign and custom joins to handle EvalPlanQual rechecks. Commit e7cb7ee14555cc9c5773e2c102efd6371f6f2005 provided basic infrastructure for allowing a foreign data wrapper or custom scan provider to replace a join of one or more tables with a scan. However, this infrastructure failed to take

[COMMITTERS] pgsql: psql: Support multiple -c and -f options, and allow mixing them.

2015-12-08 Thread Robert Haas
psql: Support multiple -c and -f options, and allow mixing them. To support this, we must reconcile some historical anomalies in the behavior of -c. In particular, as a backward-incompatibility, -c no longer implies --no-psqlrc. Pavel Stehule (code) and Catalin Iacob (documentation). Review by

[COMMITTERS] pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio

2015-12-08 Thread Tom Lane
Avoid odd portability problem in TestLib.pm's slurp_file function. For unclear reasons, this function doesn't always read the expected data in some old Perl versions. Rewriting it to avoid use of ARGV seems to dodge the problem, and this version is clearer anyway if you ask me. In passing, also

[COMMITTERS] pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio

2015-12-08 Thread Tom Lane
Avoid odd portability problem in TestLib.pm's slurp_file function. For unclear reasons, this function doesn't always read the expected data in some old Perl versions. Rewriting it to avoid use of ARGV seems to dodge the problem, and this version is clearer anyway if you ask me. In passing, also

[COMMITTERS] pgsql: Avoid odd portability problem in TestLib.pm's slurp_file functio

2015-12-08 Thread Tom Lane
Avoid odd portability problem in TestLib.pm's slurp_file function. For unclear reasons, this function doesn't always read the expected data in some old Perl versions. Rewriting it to avoid use of ARGV seems to dodge the problem, and this version is clearer anyway if you ask me. In passing, also

[COMMITTERS] pgsql: Make failure to open psql's --log-file fatal.

2015-12-08 Thread Tom Lane
Make failure to open psql's --log-file fatal. Commit 344cdff2c made failure to open the target of --output fatal. For consistency, the --log-file switch should behave similarly. Like the previous commit, back-patch to 9.5 but no further. Daniel Verite Branch -- REL9_5_STABLE Details ---

[COMMITTERS] pgsql: Make failure to open psql's --log-file fatal.

2015-12-08 Thread Tom Lane
Make failure to open psql's --log-file fatal. Commit 344cdff2c made failure to open the target of --output fatal. For consistency, the --log-file switch should behave similarly. Like the previous commit, back-patch to 9.5 but no further. Daniel Verite Branch -- master Details --- http:/

[COMMITTERS] pgsql: Improve performance in freeing memory contexts

2015-12-08 Thread Kevin Grittner
Improve performance in freeing memory contexts The single linked list of memory contexts could result in O(N^2) performance to free a set of contexts if they were not freed in reverse order of creation. In many cases the reverse order was used, but there were some significant exceptions that caus