[COMMITTERS] pgsql: Fix typo in sslmode documentation

2011-07-05 Thread Magnus Hagander
Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

Branch
--
REL8_4_STABLE

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

Modified Files
--
doc/src/sgml/libpq.sgml |2 +-
1 files changed, 1 insertions(+), 1 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 typo in sslmode documentation

2011-07-05 Thread Magnus Hagander
Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

Branch
--
REL9_0_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/1e7b52d753f84ed46095a68f23e992a95e41f13f

Modified Files
--
doc/src/sgml/libpq.sgml |2 +-
1 files changed, 1 insertions(+), 1 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 typo in sslmode documentation

2011-07-05 Thread Magnus Hagander
Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

Branch
--
master

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

Modified Files
--
doc/src/sgml/libpq.sgml |2 +-
1 files changed, 1 insertions(+), 1 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 typo in sslmode documentation

2011-07-05 Thread Magnus Hagander
Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

Branch
--
REL9_1_STABLE

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

Modified Files
--
doc/src/sgml/libpq.sgml |2 +-
1 files changed, 1 insertions(+), 1 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: Reset ALTER TABLE lock levels to AccessExclusiveLock in all case

2011-07-05 Thread Robert Haas
On Mon, Jul 4, 2011 at 6:14 AM, Simon Riggs  wrote:
> On Mon, Jul 4, 2011 at 9:31 AM, Simon Riggs  wrote:
>> Reset ALTER TABLE lock levels to AccessExclusiveLock in all cases.
>> Locks on inheritance parent remain at lower level, as they were before.
>> Remove entry from 9.1 release notes.
>
> This commit caused pgbuildfarm failures on 15 machines this morning.
> Later commit fixes this, I forgot that the lock level is specifically
> mentioned in regression test results.

I believe you need a similar fix in CreateTrigger() and DefineQueryRewrite().

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

-- 
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: Move Trigger and TriggerDesc structs out of rel.h into a new rel

2011-07-05 Thread Tom Lane
Alvaro Herrera  writes:
> Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h
> This lets us stop including rel.h into execnodes.h, which is a widely
> used header.

I'm confused why this patch added pg_am.h to predtest.c?

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: Reset ALTER TABLE lock levels to AccessExclusiveLock in all case

2011-07-05 Thread Simon Riggs
On Tue, Jul 5, 2011 at 2:46 PM, Robert Haas  wrote:
> On Mon, Jul 4, 2011 at 6:14 AM, Simon Riggs  wrote:
>> On Mon, Jul 4, 2011 at 9:31 AM, Simon Riggs  wrote:
>>> Reset ALTER TABLE lock levels to AccessExclusiveLock in all cases.
>>> Locks on inheritance parent remain at lower level, as they were before.
>>> Remove entry from 9.1 release notes.
>>
>> This commit caused pgbuildfarm failures on 15 machines this morning.
>> Later commit fixes this, I forgot that the lock level is specifically
>> mentioned in regression test results.
>
> I believe you need a similar fix in CreateTrigger() and DefineQueryRewrite().

Thanks. Will address.

-- 
 Simon Riggs   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, 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] npgsql - Npgsql2: [#1011044].

2011-07-05 Thread User Fxjr
Log Message:
---

[#1011044]. Fixed missing NpgsqlDataReader.GetTimeSpan() method.
Added unit test case to cover this method.

Modified Files:
--
Npgsql2/src/Npgsql:
NpgsqlDataReader.cs (r1.23 -> r1.24)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/src/Npgsql/NpgsqlDataReader.cs?r1=1.23&r2=1.24)
Npgsql2/testsuite/noninteractive/NUnit20:
DataReaderTests.cs (r1.14 -> r1.15)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/npgsql/Npgsql2/testsuite/noninteractive/NUnit20/DataReaderTests.cs?r1=1.14&r2=1.15)

-- 
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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
REL8_3_STABLE

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

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
REL9_0_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/245b5f1794eff632f9dd1252f29f65aad02e871d

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
REL8_2_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/71a436847bad3d80b0f7577f3439883c2ad2f99a

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
REL8_4_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/966e87d6a8543094c10f5c83899b188aa7b0619c

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
master

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

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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 psql's counting of script file line numbers during COPY.

2011-07-05 Thread Tom Lane
Fix psql's counting of script file line numbers during COPY.

handleCopyIn incremented pset.lineno for each line of COPY data read from
a file.  This is correct when reading from the current script file (i.e.,
we are doing COPY FROM STDIN followed by in-line data), but it's wrong if
the data is coming from some other file.  Per bug #6083 from Steve Haslam.
Back-patch to all supported versions.

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/2683a6340de9bda16b436b6d641ea63607ef1009

Modified Files
--
src/bin/psql/copy.c |3 ++-
1 files changed, 2 insertions(+), 1 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: Improve documentation about foreign data wrapper validator funct

2011-07-05 Thread Tom Lane
Improve documentation about foreign data wrapper validator functions.

Modified version of a patch by Shigeru Hanada.

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/52a4255055f2f50c7f20917a47e2da04b8068fd6

Modified Files
--
doc/src/sgml/fdwhandler.sgml |   16 +++-
1 files changed, 11 insertions(+), 5 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: Improve documentation about foreign data wrapper validator funct

2011-07-05 Thread Tom Lane
Improve documentation about foreign data wrapper validator functions.

Modified version of a patch by Shigeru Hanada.

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/8b6c89ad13921c7f24e205425f91f6ffda06235a

Modified Files
--
doc/src/sgml/fdwhandler.sgml |   16 +++-
1 files changed, 11 insertions(+), 5 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: Postgres -> PostgreSQL in error message

2011-07-05 Thread Peter Eisentraut
Postgres -> PostgreSQL in error message

Branch
--
master

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

Modified Files
--
contrib/pg_upgrade/controldata.c |4 ++--
1 files changed, 2 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: Postgres -> PostgreSQL in error message

2011-07-05 Thread Peter Eisentraut
Postgres -> PostgreSQL in error message

Branch
--
REL9_1_STABLE

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

Modified Files
--
contrib/pg_upgrade/controldata.c |4 ++--
1 files changed, 2 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: Restructure foreign data wrapper chapter so it has more than one

2011-07-05 Thread Tom Lane
Restructure foreign data wrapper chapter so it has more than one section.

As noted by Laurenz Albe, our SGML tools deal rather oddly with chapters
having just one .  Perhaps the tooling could be fixed, but really
the design of this chapter's introduction is pretty bogus anyhow.  Split
it into a true introduction and a  about the FDW functions, so
that it reads better and dodges the lack-of-a-chapter-TOC problem.

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/10323f3a592922bce75bc5c38589f0f3427ef232

Modified Files
--
doc/src/sgml/fdwhandler.sgml |   83 +++---
1 files changed, 45 insertions(+), 38 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: Restructure foreign data wrapper chapter so it has more than one

2011-07-05 Thread Tom Lane
Restructure foreign data wrapper chapter so it has more than one section.

As noted by Laurenz Albe, our SGML tools deal rather oddly with chapters
having just one .  Perhaps the tooling could be fixed, but really
the design of this chapter's introduction is pretty bogus anyhow.  Split
it into a true introduction and a  about the FDW functions, so
that it reads better and dodges the lack-of-a-chapter-TOC problem.

Branch
--
master

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

Modified Files
--
doc/src/sgml/fdwhandler.sgml |   83 +++---
1 files changed, 45 insertions(+), 38 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: Message style improvements of errmsg_internal() calls

2011-07-05 Thread Peter Eisentraut
Message style improvements of errmsg_internal() calls

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/9a0bdc8db5ceac574a2ae91cdf985499cd7c2b0c

Modified Files
--
src/backend/libpq/auth.c|2 +-
src/backend/libpq/be-secure.c   |2 +-
src/backend/port/pipe.c |   14 +++---
src/backend/port/win32/signal.c |6 +++---
src/backend/port/win32/socket.c |   14 +++---
src/backend/port/win32/timer.c  |4 ++--
src/backend/postmaster/postmaster.c |2 +-
7 files changed, 22 insertions(+), 22 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: Message style improvements of errmsg_internal() calls

2011-07-05 Thread Peter Eisentraut
Message style improvements of errmsg_internal() calls

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/457333d5c2f95e9448a2366dab55aab74514295c

Modified Files
--
src/backend/libpq/auth.c|2 +-
src/backend/libpq/be-secure.c   |2 +-
src/backend/port/pipe.c |   14 +++---
src/backend/port/win32/signal.c |6 +++---
src/backend/port/win32/socket.c |   14 +++---
src/backend/port/win32/timer.c  |4 ++--
src/backend/postmaster/postmaster.c |2 +-
7 files changed, 22 insertions(+), 22 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: Make the file_fdw validator check that a filename option has bee

2011-07-05 Thread Tom Lane
Make the file_fdw validator check that a filename option has been provided.

This was already a runtime failure condition, but it's better to check
at validation time if possible.  Lightly modified version of a patch
by Shigeru Hanada.

Branch
--
master

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

Modified Files
--
contrib/file_fdw/file_fdw.c |   18 +++---
contrib/file_fdw/input/file_fdw.source  |1 +
contrib/file_fdw/output/file_fdw.source |2 ++
3 files changed, 18 insertions(+), 3 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: Call FDW validator functions even when the options list is empty

2011-07-05 Thread Tom Lane
Call FDW validator functions even when the options list is empty.

This is useful since a validator might want to require certain options
to be provided.  The passed array is an empty text array in this case.

Per suggestion by Laurenz Albe, though this is not quite his patch.

Branch
--
master

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

Modified Files
--
src/backend/commands/foreigncmds.c |   14 --
1 files changed, 12 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: Make the file_fdw validator check that a filename option has bee

2011-07-05 Thread Tom Lane
Make the file_fdw validator check that a filename option has been provided.

This was already a runtime failure condition, but it's better to check
at validation time if possible.  Lightly modified version of a patch
by Shigeru Hanada.

Branch
--
REL9_1_STABLE

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

Modified Files
--
contrib/file_fdw/file_fdw.c |   18 +++---
contrib/file_fdw/input/file_fdw.source  |1 +
contrib/file_fdw/output/file_fdw.source |2 ++
3 files changed, 18 insertions(+), 3 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: Call FDW validator functions even when the options list is empty

2011-07-05 Thread Tom Lane
Call FDW validator functions even when the options list is empty.

This is useful since a validator might want to require certain options
to be provided.  The passed array is an empty text array in this case.

Per suggestion by Laurenz Albe, though this is not quite his patch.

Branch
--
REL9_1_STABLE

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

Modified Files
--
src/backend/commands/foreigncmds.c |   14 --
1 files changed, 12 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