[COMMITTERS] pgsql: Make sure pg_control is opened in binary mode, to deal with

2008-09-24 Thread Magnus Hagander
Log Message:
---
Make sure pg_control is opened in binary mode, to deal 
with situtations when the file contains an EOF maker
(0x1A) on Windows.

ITAGAKI Takahiro

Tags:

REL8_2_STABLE

Modified Files:
--
pgsql/src/bin/pg_controldata:
pg_controldata.c (r1.31 -> r1.31.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.31&r2=1.31.2.1)
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.53 -> r1.53.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.53&r2=1.53.2.1)

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


[COMMITTERS] pgsql: Make sure pg_control is opened in binary mode, to deal with

2008-09-24 Thread Magnus Hagander
Log Message:
---
Make sure pg_control is opened in binary mode, to deal 
with situtations when the file contains an EOF maker
(0x1A) on Windows.

ITAGAKI Takahiro

Modified Files:
--
pgsql/src/bin/pg_controldata:
pg_controldata.c (r1.40 -> r1.41)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.40&r2=1.41)
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.66 -> r1.67)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.66&r2=1.67)

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


[COMMITTERS] pgsql: Make sure pg_control is opened in binary mode, to deal with

2008-09-24 Thread Magnus Hagander
Log Message:
---
Make sure pg_control is opened in binary mode, to deal 
with situtations when the file contains an EOF maker
(0x1A) on Windows.

ITAGAKI Takahiro

Tags:

REL8_3_STABLE

Modified Files:
--
pgsql/src/bin/pg_controldata:
pg_controldata.c (r1.36 -> r1.36.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_controldata/pg_controldata.c?r1=1.36&r2=1.36.2.1)
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.63 -> r1.63.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.63&r2=1.63.2.1)

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


[COMMITTERS] pgsql: Silence compiler warning caused by recent collation patch.

2008-09-24 Thread Magnus Hagander
Log Message:
---
Silence compiler warning caused by recent collation patch.

Modified Files:
--
pgsql/src/bin/pg_resetxlog:
pg_resetxlog.c (r1.67 -> r1.68)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_resetxlog/pg_resetxlog.c?r1=1.67&r2=1.68)

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


[COMMITTERS] psqlodbc - psqlodbc: Suppress some compiler warnings.

2008-09-24 Thread User Hinoue
Log Message:
---
Suppress some compiler warnings.

Modified Files:
--
psqlodbc:
convert.c (r1.171 -> r1.172)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/convert.c.diff?r1=1.171&r2=1.172)
descriptor.h (r1.20 -> r1.21)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/descriptor.h.diff?r1=1.20&r2=1.21)
options.c (r1.75 -> r1.76)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/options.c.diff?r1=1.75&r2=1.76)
parse.c (r1.69 -> r1.70)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/parse.c.diff?r1=1.69&r2=1.70)
pgapi30.c (r1.45 -> r1.46)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/pgapi30.c.diff?r1=1.45&r2=1.46)
socket.c (r1.64 -> r1.65)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/socket.c.diff?r1=1.64&r2=1.65)

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


[COMMITTERS] pgsql: Fix unportable syntax used in recent patch.

2008-09-24 Thread Tom Lane
Log Message:
---
Fix unportable syntax used in recent patch.  Per results from
buildfarm member 'bear'.

Modified Files:
--
pgsql/src/pl/plpgsql/src:
pl_exec.c (r1.220 -> r1.221)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpgsql/src/pl_exec.c?r1=1.220&r2=1.221)

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


[COMMITTERS] psqlodbc - psqlodbc: BigEndian support for ucs2(utf-16)<->utf8

2008-09-24 Thread User Hinoue
Log Message:
---
BigEndian support for ucs2(utf-16)<->utf8 conversion.

Modified Files:
--
psqlodbc:
win_unicode.c (r1.19 -> r1.20)

(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/psqlodbc/psqlodbc/win_unicode.c.diff?r1=1.19&r2=1.20)

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


[COMMITTERS] pgsql: Fix markup tag error, envvar -> envar.

2008-09-24 Thread Bruce Momjian
Log Message:
---
Fix markup tag error, envvar -> envar.

Modified Files:
--
pgsql/doc/src/sgml:
charset.sgml (r2.89 -> r2.90)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/charset.sgml?r1=2.89&r2=2.90)

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


[COMMITTERS] pgsql: Fix more problems with rewriter failing to set Query.hasSubLinks

2008-09-24 Thread Tom Lane
Log Message:
---
Fix more problems with rewriter failing to set Query.hasSubLinks when inserting
a SubLink expression into a rule query.  We missed cases where the original
query contained a sub-SELECT in a function in FROM, a multi-row VALUES list,
or a RETURNING list.  Per bug #4434 from Dean Rasheed and subsequent
investigation.

Back-patch to 8.1; older releases don't have the issue because they didn't
try to be smart about setting hasSubLinks only when needed.

Modified Files:
--
pgsql/src/backend/rewrite:
rewriteHandler.c (r1.179 -> r1.180)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c?r1=1.179&r2=1.180)

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


[COMMITTERS] pgsql: Fix more problems with rewriter failing to set Query.hasSubLinks

2008-09-24 Thread Tom Lane
Log Message:
---
Fix more problems with rewriter failing to set Query.hasSubLinks when inserting
a SubLink expression into a rule query.  We missed cases where the original
query contained a sub-SELECT in a function in FROM, a multi-row VALUES list,
or a RETURNING list.  Per bug #4434 from Dean Rasheed and subsequent
investigation.

Back-patch to 8.1; older releases don't have the issue because they didn't
try to be smart about setting hasSubLinks only when needed.

Tags:

REL8_3_STABLE

Modified Files:
--
pgsql/src/backend/rewrite:
rewriteHandler.c (r1.177 -> r1.177.2.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c?r1=1.177&r2=1.177.2.1)

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


[COMMITTERS] pgsql: Fix more problems with rewriter failing to set Query.hasSubLinks

2008-09-24 Thread Tom Lane
Log Message:
---
Fix more problems with rewriter failing to set Query.hasSubLinks when inserting
a SubLink expression into a rule query.  We missed cases where the original
query contained a sub-SELECT in a function in FROM, a multi-row VALUES list,
or a RETURNING list.  Per bug #4434 from Dean Rasheed and subsequent
investigation.

Back-patch to 8.1; older releases don't have the issue because they didn't
try to be smart about setting hasSubLinks only when needed.

Tags:

REL8_2_STABLE

Modified Files:
--
pgsql/src/backend/rewrite:
rewriteHandler.c (r1.168.2.1 -> r1.168.2.2)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c?r1=1.168.2.1&r2=1.168.2.2)

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


[COMMITTERS] pgsql: Fix more problems with rewriter failing to set Query.hasSubLinks

2008-09-24 Thread Tom Lane
Log Message:
---
Fix more problems with rewriter failing to set Query.hasSubLinks when inserting
a SubLink expression into a rule query.  We missed cases where the original
query contained a sub-SELECT in a function in FROM, a multi-row VALUES list,
or a RETURNING list.  Per bug #4434 from Dean Rasheed and subsequent
investigation.

Back-patch to 8.1; older releases don't have the issue because they didn't
try to be smart about setting hasSubLinks only when needed.

Tags:

REL8_1_STABLE

Modified Files:
--
pgsql/src/backend/rewrite:
rewriteHandler.c (r1.158.2.3 -> r1.158.2.4)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/rewrite/rewriteHandler.c?r1=1.158.2.3&r2=1.158.2.4)

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


Re: [COMMITTERS] pgsql: Make LC_COLLATE and LC_CTYPE database-level settings.

2008-09-24 Thread Chris Browne
[EMAIL PROTECTED] (Heikki Linnakangas) writes:
> Log Message:
> ---
> Make LC_COLLATE and LC_CTYPE database-level settings. Collation and
> ctype are now more like encoding, stored in new datcollate and datctype 
> columns in pg_database.
>
> This is a stripped-down version of Radek Strnad's patch, with further
> changes by me.
> pgsql/src/bin/pg_dump:
> pg_dump.c (r1.500 -> r1.501)
> 
> (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.500&r2=1.501)
> pg_dumpall.c (r1.106 -> r1.107)
> 
> (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dumpall.c?r1=1.106&r2=1.107)

Let me report a problem with this...

Running pg_dump encounters the following:

[EMAIL PROTECTED]:Slony-I/CMD/slony1-HEAD/tests> pg_dump -s slonyregress1
pg_dump: column number -1 is out of range 0..7
pg_dump: column number -1 is out of range 0..7
zsh: segmentation fault  pg_dump -s slonyregress1

It's not a Slony-I-related issue; I get identical behaviour with other
databases that do not have Slony-I in place.

Things "seem to work" if I roll back this patch to pg_dump.c.

So something's up...
-- 
(reverse (concatenate 'string "moc.enworbbc" "@" "enworbbc"))
http://www3.sympatico.ca/cbbrowne/emacs.html
"Being really good at C++ is  like being really good at using rocks to
sharpen sticks."  -- Thant Tessman

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


[COMMITTERS] pgsql: Fix pg_dump bug in the database-level collation patch.

2008-09-24 Thread Heikki Linnakangas
Log Message:
---
Fix pg_dump bug in the database-level collation patch. "datcollate" and
"datctype" columns were misspelled. Per report from Chris Browne.

Modified Files:
--
pgsql/src/bin/pg_dump:
pg_dump.c (r1.501 -> r1.502)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dump.c?r1=1.501&r2=1.502)

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


[COMMITTERS] pgsql: Fix integral timestamps so the output is consistent in all cases

2008-09-24 Thread Bruce Momjian
Log Message:
---
Fix integral timestamps so the output is consistent in all cases to
round:

select interval '0:0:0.7', interval '@ 0.70 secs', interval '0.7
seconds';

Ron Mayer

Modified Files:
--
pgsql/src/backend/utils/adt:
datetime.c (r1.193 -> r1.194)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/datetime.c?r1=1.193&r2=1.194)

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


[COMMITTERS] pgsql: Add documentation about when trigger values NEW/OLD return NULL.

2008-09-24 Thread Bruce Momjian
Log Message:
---
Add documentation about when trigger values NEW/OLD return NULL.

Jeff Davis

Modified Files:
--
pgsql/doc/src/sgml:
plpgsql.sgml (r1.133 -> r1.134)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpgsql.sgml?r1=1.133&r2=1.134)

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


[COMMITTERS] pgsql: Establish the rule that array types should have the same typdelim

2008-09-24 Thread Tom Lane
Log Message:
---
Establish the rule that array types should have the same typdelim as their
element types.  Since the backend doesn't actually pay attention to the array
type's delimiter, this has no functional effect, but it seems better for the
catalog entries to be consistent.  Per gripe from Greg Mullane and subsequent
discussion.

Modified Files:
--
pgsql/src/backend/commands:
typecmds.c (r1.123 -> r1.124)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/typecmds.c?r1=1.123&r2=1.124)
pgsql/src/include/catalog:
catversion.h (r1.488 -> r1.489)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/catversion.h?r1=1.488&r2=1.489)
pg_type.h (r1.199 -> r1.200)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/catalog/pg_type.h?r1=1.199&r2=1.200)
pgsql/src/test/regress/expected:
type_sanity.out (r1.33 -> r1.34)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/type_sanity.out?r1=1.33&r2=1.34)
pgsql/src/test/regress/sql:
type_sanity.sql (r1.33 -> r1.34)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/sql/type_sanity.sql?r1=1.33&r2=1.34)

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