[COMMITTERS] pgsql: Document how to build the docs using the website style.

2015-07-29 Thread Robert Haas
Document how to build the docs using the website style.

Craig Ringer

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/5f1066074cd85b829371a4123839d16f52553c3d

Modified Files
--
doc/src/sgml/docguide.sgml |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add missing post create and alter hooks to policy objects.

2015-07-29 Thread Joe Conway
Add missing post create and alter hooks to policy objects.

AlterPolicy() and CreatePolicy() lacked their respective hook invocations.
Noted by Noah Misch, review by Dean Rasheed. Back-patch to 9.5 where
RLS was introduced.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/efe72a82aa5e0d6f907a5d21f1a99b677f44f817

Modified Files
--
src/backend/commands/policy.c |4 
1 file changed, 4 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add missing post create and alter hooks to policy objects.

2015-07-29 Thread Joe Conway
Add missing post create and alter hooks to policy objects.

AlterPolicy() and CreatePolicy() lacked their respective hook invocations.
Noted by Noah Misch, review by Dean Rasheed. Back-patch to 9.5 where
RLS was introduced.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/0bfbf14f93c30ec8f505baba79625f5a3b010405

Modified Files
--
src/backend/commands/policy.c |4 
1 file changed, 4 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add some test coverage of EvalPlanQual with non-locked tables.

2015-07-29 Thread Tom Lane
Add some test coverage of EvalPlanQual with non-locked tables.

A Salesforce colleague of mine griped that the regression tests don't
exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
a fair complaint.  Add test cases that go through the REFERENCE and COPY
code paths.  Unfortunately we don't have sufficient infrastructure right
now to exercise the FDW code path in the isolation tests, but this is
surely better than before.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/342a1ffa2177c0b260b68d7891b0d04598a58432

Modified Files
--
src/test/isolation/expected/eval-plan-qual.out |   40 
src/test/isolation/specs/eval-plan-qual.spec   |   16 ++
2 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add some test coverage of EvalPlanQual with non-locked tables.

2015-07-29 Thread Tom Lane
Add some test coverage of EvalPlanQual with non-locked tables.

A Salesforce colleague of mine griped that the regression tests don't
exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
a fair complaint.  Add test cases that go through the REFERENCE and COPY
code paths.  Unfortunately we don't have sufficient infrastructure right
now to exercise the FDW code path in the isolation tests, but this is
surely better than before.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/3ef1a682d5e4a919dcaddc8256ea65de91654d1c

Modified Files
--
src/test/isolation/expected/eval-plan-qual.out |   40 
src/test/isolation/specs/eval-plan-qual.spec   |   16 ++
2 files changed, 56 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Make TAP tests work on Windows.

2015-07-29 Thread Heikki Linnakangas
Make TAP tests work on Windows.

On Windows, use listen_address=127.0.0.1 to allow TCP connections. We were
already using pg_regress --config-auth to set up HBA appropriately. The
standard_initdb helper function now sets up the server's
unix_socket_directories or listen_addresses in the config file, so that
they don't need to be specified in the pg_ctl command line anymore. That
way, the pg_ctl invocations in test programs don't need to differ between
Windows and Unix.

Add another helper function to configure the server's pg_hba.conf to allow
replication connections. The configuration is done similarly to pg_regress
--config-auth: trust on domain sockets on Unix, and SSPI authentication on
Windows.

Replace calls to cat and touch programs with built-in perl code, as
those programs don't normally exist on Windows.

Add instructions in the docs on how to install IPC::Run on Windows. Adjust
vcregress.pl to not replace PERL5LIB completely in vcregress.pl, because
otherwise cannot install IPC::Run in a non-standard location easily.

Michael Paquier, reviewed by Noah Misch, some additional tweaking by me.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/13d856e177e69083f543d6383eeda9e12ce3c55c

Modified Files
--
doc/src/sgml/install-windows.sgml|   24 +
src/Makefile.global.in   |2 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl |  139 +-
src/bin/pg_ctl/t/001_start_stop.pl   |   14 ++-
src/bin/pg_ctl/t/002_status.pl   |4 -
src/bin/pg_rewind/RewindTest.pm  |   21 ++--
src/test/perl/TestLib.pm |   76 --
src/tools/msvc/clean.bat |7 ++
src/tools/msvc/vcregress.pl  |   46 -
9 files changed, 232 insertions(+), 101 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix incorrect comment.

2015-07-29 Thread Robert Haas
Fix incorrect comment.

Amit Langote

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/f04ce3147560de90d5250ae822d8d714b76f61cd

Modified Files
--
src/backend/optimizer/plan/setrefs.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Create new ParseExprKind for use by policy expressions.

2015-07-29 Thread Joe Conway
Create new ParseExprKind for use by policy expressions.

Policy USING and WITH CHECK expressions were using EXPR_KIND_WHERE for
parse analysis, which results in inappropriate ERROR messages when
the expression contains unsupported constructs such as aggregates.
Create a new ParseExprKind called EXPR_KIND_POLICY and tailor the
related messages to fit.

Reported by Noah Misch. Reviewed by Dean Rasheed, Alvaro Herrera,
and Robert Haas. Back-patch to 9.5 where RLS was introduced.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/632cd9f892119858bc5b617bb60c0377a8a2ed13

Modified Files
--
src/backend/commands/policy.c|8 
src/backend/parser/parse_agg.c   |   10 ++
src/backend/parser/parse_expr.c  |3 +++
src/include/parser/parse_node.h  |3 ++-
src/test/modules/test_rls_hooks/test_rls_hooks.c |4 ++--
src/test/regress/expected/rowsecurity.out|9 +
src/test/regress/sql/rowsecurity.sql |9 +
7 files changed, 39 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Create new ParseExprKind for use by policy expressions.

2015-07-29 Thread Joe Conway
Create new ParseExprKind for use by policy expressions.

Policy USING and WITH CHECK expressions were using EXPR_KIND_WHERE for
parse analysis, which results in inappropriate ERROR messages when
the expression contains unsupported constructs such as aggregates.
Create a new ParseExprKind called EXPR_KIND_POLICY and tailor the
related messages to fit.

Reported by Noah Misch. Reviewed by Dean Rasheed, Alvaro Herrera,
and Robert Haas. Back-patch to 9.5 where RLS was introduced.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/43797ed42a7c0365c9143ad6efdc566ac9d93fd8

Modified Files
--
src/backend/commands/policy.c|8 
src/backend/parser/parse_agg.c   |   10 ++
src/backend/parser/parse_expr.c  |3 +++
src/include/parser/parse_node.h  |3 ++-
src/test/modules/test_rls_hooks/test_rls_hooks.c |4 ++--
src/test/regress/expected/rowsecurity.out|9 +
src/test/regress/sql/rowsecurity.sql |9 +
7 files changed, 39 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Make TAP tests work on Windows.

2015-07-29 Thread Tom Lane
Heikki Linnakangas heikki.linnakan...@iki.fi writes:
 Make TAP tests work on Windows.

I think this might've broken buildfarm member crake.

regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Make TAP tests work on Windows.

2015-07-29 Thread Heikki Linnakangas

On 07/29/2015 08:37 PM, Tom Lane wrote:

Heikki Linnakangas heikki.linnakan...@iki.fi writes:

Make TAP tests work on Windows.


I think this might've broken buildfarm member crake.


Oh, I didn't realize the TAP tests can also run in make installcheck 
mode. Fixed, I hope..


- Heikki



--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Add some test coverage of EvalPlanQual with non-locked tables.

2015-07-29 Thread Alvaro Herrera
Tom Lane wrote:
 Add some test coverage of EvalPlanQual with non-locked tables.
 
 A Salesforce colleague of mine griped that the regression tests don't
 exercise EvalPlanQualFetchRowMarks() and allied routines.  Which is
 a fair complaint.  Add test cases that go through the REFERENCE and COPY
 code paths.  Unfortunately we don't have sufficient infrastructure right
 now to exercise the FDW code path in the isolation tests, but this is
 surely better than before.

FWIW the test_decoding module has isolation tests (pretty ugly
admittedly).  I guess you could do something similar in the postgres_fdw
module.

-- 
Álvaro Herrerahttp://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training  Services


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix TAP tests with make installcheck.

2015-07-29 Thread Heikki Linnakangas
Fix TAP tests with make installcheck.

I neglected that the prove_installcheck rule also needs to also define
PG_REGRESS, like prove_check does.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/c7f0b28c7a67a8602c65d6b38d40b38d07548fbd

Modified Files
--
src/Makefile.global.in |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Flesh out the background worker documentation.

2015-07-29 Thread Robert Haas
Flesh out the background worker documentation.

Make it more clear that bgw_main is usually not what you want.  Put the
background worker flags in a variablelist rather than having them as
part of a paragraph.  Explain important limits on how bgw_main_arg can
be used.

Craig Ringer, substantially revised by me.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/38d4ce6b055ec7c26c421dcf1ced07e4d4220292

Modified Files
--
doc/src/sgml/bgworker.sgml |   98 
1 file changed, 72 insertions(+), 26 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN

2015-07-29 Thread Andrew Dunstan
Add IF NOT EXISTS processing to ALTER TABLE ADD COLUMN

Fabrízio de Royes Mello, reviewed by Payal Singh, Alvaro Herrera and
Michael Paquier.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/2cd40adb85d1d5a7fd448721b326e73c1e318750

Modified Files
--
doc/src/sgml/ref/alter_table.sgml |8 ++-
src/backend/commands/tablecmds.c  |   52 -
src/backend/parser/gram.y |   20 +++
src/test/regress/expected/alter_table.out |   89 +
src/test/regress/sql/alter_table.sql  |   31 ++
5 files changed, 182 insertions(+), 18 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Remove duplicate PATH entry in test harness.

2015-07-29 Thread Noah Misch
MSVC: Remove duplicate PATH entry in test harness.

Back-patch to 9.5, where commit 4cb7d671fddc8855c8def2de51fb23df1c8ac0af
introduced it.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/d6ab14674d636490cec40c9dfc16104f380ced70

Modified Files
--
src/tools/msvc/vcregress.pl |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Revert most 9.5 changes to pre-9.5 vcregress.pl tests.

2015-07-29 Thread Noah Misch
MSVC: Revert most 9.5 changes to pre-9.5 vcregress.pl tests.

The reverted changes did not narrow the semantic gap between the MSVC
build system and the GNU make build system.  For targets old and new
that run multiple suites (contribcheck, modulescheck, tapcheck), restore
vcregress.pl to mimicking make -k rather than the make -S default.
Lack of -k would be more burdensome than lack of -S.  Keep changes
reflecting contemporary changes to the GNU make build system, and keep
updates to Makefile parsing.  Keep the loss of --psqldir in check and
ecpgcheck targets; it had been a no-op when used alongside
--temp-install.  No log message mentioned any of the reverted changes.
Based on a germ by Michael Paquier.  Back-patch to 9.5.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/e6ea46c30ec9d086d3317d293b1e249f21e43fbc

Modified Files
--
src/tools/msvc/vcregress.pl |   74 +++
1 file changed, 33 insertions(+), 41 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_2_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/0a89f3bc6e9b1e911e9efd8132377fe5c6838c66

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove redundant make install from pg_upgrade test suite.

2015-07-29 Thread Noah Misch
Remove redundant make install from pg_upgrade test suite.

A top-level make install includes pg_upgrade since commit
9fa8b0ee90c44c0f97d16bf65e94322988c94864.  Back-patch to 9.5, where that
commit first appeared.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/021a56989aa5cbf10854ae3a0a17722e6ce1f9f9

Modified Files
--
src/bin/pg_upgrade/test.sh |1 -
1 file changed, 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/d20327a4fdc13ca4a1ce25c91ceaf43927b6dc3c

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/c53f73879f552a3c7cc57d2d6a49d38cd80cf267

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Remove duplicate PATH entry in test harness.

2015-07-29 Thread Noah Misch
MSVC: Remove duplicate PATH entry in test harness.

Back-patch to 9.5, where commit 4cb7d671fddc8855c8def2de51fb23df1c8ac0af
introduced it.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/95eb4b265502c26c9f72f0f554df41e273551858

Modified Files
--
src/tools/msvc/vcregress.pl |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove redundant make install from pg_upgrade test suite.

2015-07-29 Thread Noah Misch
Remove redundant make install from pg_upgrade test suite.

A top-level make install includes pg_upgrade since commit
9fa8b0ee90c44c0f97d16bf65e94322988c94864.  Back-patch to 9.5, where that
commit first appeared.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/1471c0e27c2f71bed551463e8072da9c01c63dae

Modified Files
--
src/bin/pg_upgrade/test.sh |1 -
1 file changed, 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Future-proof installation file skip logic.

2015-07-29 Thread Noah Misch
MSVC: Future-proof installation file skip logic.

This code relied on knowing exactly where in the source tree temporary
installations might appear.  A reasonable hacker may not think to update
this code when adding use of a temporary installation, making it
fragile.  Observe that commit 9fa8b0ee90c44c0f97d16bf65e94322988c94864
broke it unnoticed, and commit dcae5faccab64776376d354decda0017c648bb53
fixed it unnoticed.  Back-patch to 9.5 only; use of temporary
installations is unlikely to change in released versions.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/d69252285c618cf2e4bf660dbae7c6f4d15e9ce4

Modified Files
--
src/tools/msvc/Install.pm |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_3_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/23e7ee9621be120a642e68f854c08a000310e87e

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Revert most 9.5 changes to pre-9.5 vcregress.pl tests.

2015-07-29 Thread Noah Misch
MSVC: Revert most 9.5 changes to pre-9.5 vcregress.pl tests.

The reverted changes did not narrow the semantic gap between the MSVC
build system and the GNU make build system.  For targets old and new
that run multiple suites (contribcheck, modulescheck, tapcheck), restore
vcregress.pl to mimicking make -k rather than the make -S default.
Lack of -k would be more burdensome than lack of -S.  Keep changes
reflecting contemporary changes to the GNU make build system, and keep
updates to Makefile parsing.  Keep the loss of --psqldir in check and
ecpgcheck targets; it had been a no-op when used alongside
--temp-install.  No log message mentioned any of the reverted changes.
Based on a germ by Michael Paquier.  Back-patch to 9.5.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/fdb8ea9366785d7e2a31469c1389ca8a6f11889f

Modified Files
--
src/tools/msvc/vcregress.pl |   69 +++
1 file changed, 30 insertions(+), 39 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_0_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/2d8c136e745168cb8d20f3e2728a602f9ba02921

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: MSVC: Future-proof installation file skip logic.

2015-07-29 Thread Noah Misch
MSVC: Future-proof installation file skip logic.

This code relied on knowing exactly where in the source tree temporary
installations might appear.  A reasonable hacker may not think to update
this code when adding use of a temporary installation, making it
fragile.  Observe that commit 9fa8b0ee90c44c0f97d16bf65e94322988c94864
broke it unnoticed, and commit dcae5faccab64776376d354decda0017c648bb53
fixed it unnoticed.  Back-patch to 9.5 only; use of temporary
installations is unlikely to change in released versions.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/f7dca86fc3a2c423824a2056994319c348992913

Modified Files
--
src/tools/msvc/Install.pm |8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_4_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/76cf5f1956cec181dcf0956d0d7b673453a50e74

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Blacklist xlc 32-bit inlining.

2015-07-29 Thread Noah Misch
Blacklist xlc 32-bit inlining.

Per a suggestion from Tom Lane.  Back-patch to 9.0 (all supported
versions).  While only 9.4 and up have code known to elicit this
compiler bug, we were disabling inlining by accident until commit
43d89a23d59c487bc9258fad7a6187864cb8c0c0.

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/a664d4790e5f93726f264c77c044a7ce4c1a675c

Modified Files
--
config/test_quiet_include.h |9 +
1 file changed, 9 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix typo in comment.

2015-07-29 Thread Heikki Linnakangas
Fix typo in comment.

Amit Langote

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/6f1789a475fe2726f8ade5ecd3aa14223b130fb1

Modified Files
--
src/backend/commands/tablecmds.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix typo in comment.

2015-07-29 Thread Heikki Linnakangas
Fix typo in comment.

Amit Langote

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/a309ebd6b9940ca466c7748eeefc93c86ba2c9d4

Modified Files
--
src/backend/commands/tablecmds.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: pg_basebackup: Add tests for -X option

2015-07-29 Thread Michael Paquier
On Wed, Jul 29, 2015 at 9:34 AM, Peter Eisentraut pete...@gmx.net wrote:
 pg_basebackup: Add tests for -X option

One thing that I noticed after more tests is that actually the LSN
position restart_lsn is not necessarily 8-character long as this
tests, but it can be 7-character length as well:
like($lsn, qr!^0/[0-9A-Z]{8}$!, 'restart LSN of slot has advanced');
So you may have random failures depending on how much the LSN has
advanced depending on the number of base backups taken on the server
during the tests (found out the problem on Windows because we need to
skip some tests as there is no symlink support). I would suggest that
instead of checking the format of restart_lsn we encapsulate it within
pg_xlogfile_name and check if result has a correct length of 24
characters with characters 0-9A-F, like in the patch attached.
Sorry for not noticing that before, attached is a patch to fix the issue.
-- 
Michael


20150729_fix_tap_basebackup.patch
Description: binary/octet-stream

-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove outdated comment in LWLockDequeueSelf's header.

2015-07-29 Thread Andres Freund
Remove outdated comment in LWLockDequeueSelf's header.

Noticed-By: Robert Haas
Backpatch: 9.5, where the function was added

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/81191f65820d3cf29ea94fe7f65c065e8c6a296c

Modified Files
--
src/backend/storage/lmgr/lwlock.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Remove outdated comment in LWLockDequeueSelf's header.

2015-07-29 Thread Andres Freund
Remove outdated comment in LWLockDequeueSelf's header.

Noticed-By: Robert Haas
Backpatch: 9.5, where the function was added

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/3bc9356ddd52443e209fb60b94a2c29d66259d62

Modified Files
--
src/backend/storage/lmgr/lwlock.c |3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers