[COMMITTERS] pgsql: On further reflection, we'd better do the same in int.c.

2011-03-11 Thread Tom Lane
On further reflection, we'd better do the same in int.c. We previously heard of the same problem in int24div(), so there's not a good reason to suppose the problem is confined to cases involving int8. Branch -- REL8_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/09dfc3d7048

[COMMITTERS] pgsql: On further reflection, we'd better do the same in int.c.

2011-03-11 Thread Tom Lane
On further reflection, we'd better do the same in int.c. We previously heard of the same problem in int24div(), so there's not a good reason to suppose the problem is confined to cases involving int8. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/2a26639a5d76df7f59

[COMMITTERS] pgsql: On further reflection, we'd better do the same in int.c.

2011-03-11 Thread Tom Lane
On further reflection, we'd better do the same in int.c. We previously heard of the same problem in int24div(), so there's not a good reason to suppose the problem is confined to cases involving int8. Branch -- REL9_0_STABLE Details --- http://git.postgresql.org/pg/commitdiff/f6b2ab7d95d

[COMMITTERS] pgsql: On further reflection, we'd better do the same in int.c.

2011-03-11 Thread Tom Lane
On further reflection, we'd better do the same in int.c. We previously heard of the same problem in int24div(), so there's not a good reason to suppose the problem is confined to cases involving int8. Branch -- REL8_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/56423c143cc

[COMMITTERS] pgsql: On further reflection, we'd better do the same in int.c.

2011-03-11 Thread Tom Lane
On further reflection, we'd better do the same in int.c. We previously heard of the same problem in int24div(), so there's not a good reason to suppose the problem is confined to cases involving int8. Branch -- REL8_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/1b5a7779cbe

[COMMITTERS] pgsql: Put in some more safeguards against executing a division-by-zero

2011-03-11 Thread Tom Lane
Put in some more safeguards against executing a division-by-zero. Add dummy returns before every potential division-by-zero in int8.c, because apparently further "improvements" in gcc's optimizer have enabled it to break functions that weren't broken before. Aurelien Jarno, via Martin Pitt Branc

[COMMITTERS] pgsql: Put in some more safeguards against executing a division-by-zero

2011-03-11 Thread Tom Lane
Put in some more safeguards against executing a division-by-zero. Add dummy returns before every potential division-by-zero in int8.c, because apparently further "improvements" in gcc's optimizer have enabled it to break functions that weren't broken before. Aurelien Jarno, via Martin Pitt Branc

[COMMITTERS] pgsql: Put in some more safeguards against executing a division-by-zero

2011-03-11 Thread Tom Lane
Put in some more safeguards against executing a division-by-zero. Add dummy returns before every potential division-by-zero in int8.c, because apparently further "improvements" in gcc's optimizer have enabled it to break functions that weren't broken before. Aurelien Jarno, via Martin Pitt Branc

[COMMITTERS] pgsql: Put in some more safeguards against executing a division-by-zero

2011-03-11 Thread Tom Lane
Put in some more safeguards against executing a division-by-zero. Add dummy returns before every potential division-by-zero in int8.c, because apparently further "improvements" in gcc's optimizer have enabled it to break functions that weren't broken before. Aurelien Jarno, via Martin Pitt Branc

[COMMITTERS] pgsql: Put in some more safeguards against executing a division-by-zero

2011-03-11 Thread Tom Lane
Put in some more safeguards against executing a division-by-zero. Add dummy returns before every potential division-by-zero in int8.c, because apparently further "improvements" in gcc's optimizer have enabled it to break functions that weren't broken before. Aurelien Jarno, via Martin Pitt Branc

[COMMITTERS] pgsql: Split CollateClause into separate raw and analyzed node types.

2011-03-11 Thread Tom Lane
Split CollateClause into separate raw and analyzed node types. CollateClause is now used only in raw grammar output, and CollateExpr after parse analysis. This is for clarity and to avoid carrying collation names in post-analysis parse trees: that's both wasteful and possibly misleading, since th

[COMMITTERS] pgsql: In docs, rename "backwards compatibility" to "backward compatibi

2011-03-11 Thread Bruce Momjian
In docs, rename "backwards compatibility" to "backward compatibility" for consistency. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/7a8f43968add3c69b79c49ef236d945e643dcb1e Modified Files -- doc/src/sgml/array.sgml |2 +- doc/src/sgml/config.sg

[COMMITTERS] pgsql: Create an explicit concept of collations that work for any encod

2011-03-11 Thread Tom Lane
Create an explicit concept of collations that work for any encoding. Use collencoding = -1 to represent such a collation in pg_collation. We need this to make the "default" entry work sanely, and a later patch will fix the C/POSIX entries to be represented this way instead of duplicating them acro

[COMMITTERS] pgsql: Remove duplicate indexterm to silence openjade wrning.

2011-03-11 Thread Tom Lane
Remove duplicate indexterm to silence openjade wrning. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ac435a79c88f51be6bf3eb5df618c2bac6123ae4 Modified Files -- doc/src/sgml/runtime.sgml |1 - 1 files changed, 0 insertions(+), 1 deletions(-) -- Sen

[COMMITTERS] pgsql: Update documentation on FreeBSD write cache control.

2011-03-11 Thread Bruce Momjian
Update documentation on FreeBSD write cache control. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4869d10afc74e9cc774942c24b48cef301a0a693 Modified Files -- doc/src/sgml/wal.sgml |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) -- Sent

[COMMITTERS] pgsql: Document that to_char('FM') removes only trailing zeros.

2011-03-11 Thread Bruce Momjian
Document that to_char('FM') removes only trailing zeros. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ffe92d15d53625d5ae0c23f4e1984ed43614a33d Modified Files -- doc/src/sgml/func.sgml |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- S

[COMMITTERS] pgsql: Document how listen_addresses can do only IPv4 or IPv6.

2011-03-11 Thread Bruce Momjian
Document how listen_addresses can do only IPv4 or IPv6. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a1bb5a480df44e518957abca0de2d04aaba5bf02 Modified Files -- doc/src/sgml/config.sgml |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) --

[COMMITTERS] pgsql: In ecpg preprocessor, don't try to look up constants in the test

2011-03-11 Thread Heikki Linnakangas
In ecpg preprocessor, don't try to look up constants in the test for variable hiding. A constant is not a variable. It worked in most cases by accident, because we add constants to the global list of variables (why?), but float constants like 1.23 were interpreted as struct field references, and no

[COMMITTERS] pgsql: In ecpg preprocessor, don't try to look up constants in the test

2011-03-11 Thread Heikki Linnakangas
In ecpg preprocessor, don't try to look up constants in the test for variable hiding. A constant is not a variable. It worked in most cases by accident, because we add constants to the global list of variables (why?), but float constants like 1.23 were interpreted as struct field references, and no

[COMMITTERS] pgsql: Adds index entries for session_user and pg_describe_object

2011-03-11 Thread Bruce Momjian
Adds index entries for session_user and pg_describe_object Removes extraneous closing parenthesis from pg_describe_object Puts pg_describe_object and has_sequence_privilege in correct alphabetical position in function listing Thom Brown Branch -- master Details --- http://git.postgresql.

[COMMITTERS] pgsql: In plpsql docs, use RAISE rather than undefined log function.

2011-03-11 Thread Bruce Momjian
In plpsql docs, use RAISE rather than undefined log function. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/35a1964e557ad5993a94e8b800135f55b6347926 Modified Files -- doc/src/sgml/plpgsql.sgml |7 +++ 1 files changed, 3 insertions(+), 4 deletions

[COMMITTERS] pgsql: Improve extract(day) documentation with interval values.

2011-03-11 Thread Bruce Momjian
Improve extract(day) documentation with interval values. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/cbd2811461daf2c6b71d56048b96374cc2d61d64 Modified Files -- doc/src/sgml/func.sgml | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-)

[COMMITTERS] pgsql: Fix "unparenthesized" mention in vacuum docs.

2011-03-11 Thread Bruce Momjian
Fix "unparenthesized" mention in vacuum docs. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ea5c4c71f610712a0d492fd39a0d9db102b6054f Modified Files -- doc/src/sgml/ref/vacuum.sgml |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Sent via

[COMMITTERS] pgsql: Update kernel docs for Solaris 10.

2011-03-11 Thread Bruce Momjian
Update kernel docs for Solaris 10. Josh Berkus Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/3896138b7c18c89f57d35fcb85a369d89323e827 Modified Files -- doc/src/sgml/runtime.sgml | 65 ++--- 1 files changed, 55 i

[COMMITTERS] pgsql: Document that pg_dump --clean might generate some harmless error

2011-03-11 Thread Bruce Momjian
Document that pg_dump --clean might generate some harmless errors on restore. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/afaed3add89ffe3df422319c3a76761e186efe30 Modified Files -- doc/src/sgml/ref/pg_dump.sgml |3 ++- 1 files changed, 2 insertions

[COMMITTERS] pgsql: Update C comment about O_DIRECT and fsync().

2011-03-11 Thread Bruce Momjian
Update C comment about O_DIRECT and fsync(). Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/7d23e0f803fc0af0ff7b317a504eba31a51ebade Modified Files -- src/include/access/xlogdefs.h | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) -

[COMMITTERS] pgsql: Document that libpq's PQgetResult() should be called after a fat

2011-03-11 Thread Bruce Momjian
Document that libpq's PQgetResult() should be called after a fatal error to fully process errors. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/06711de9d9d4e122d4e4c9b801b471e048281f48 Modified Files -- doc/src/sgml/libpq.sgml |9 + 1 files c

[COMMITTERS] pgsql: Document that the parenthesized VACUUM syntax is deprecated, not

2011-03-11 Thread Bruce Momjian
Document that the parenthesized VACUUM syntax is deprecated, not the FREEZE functionality. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ad44d505917baf35994f3eabdb42657bf2342b99 Modified Files -- doc/src/sgml/ref/vacuum.sgml |9 - 1 files cha

[COMMITTERS] pgsql: Add comment to tools/git-external-diff.

2011-03-11 Thread Bruce Momjian
Add comment to tools/git-external-diff. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/dae1e5546cdff98d85215a461f108f71fd254441 Modified Files -- src/tools/git-external-diff |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) -- Sent via pgsq

[COMMITTERS] pgsql: Change "TIP" to "HINT" to match backend message style, in pg_ctl

2011-03-11 Thread Bruce Momjian
Change "TIP" to "HINT" to match backend message style, in pg_ctl -m fast suggestion. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/f887294ccfad1545f8c94e7d486ffdd90a61132e Modified Files -- src/bin/pg_ctl/pg_ctl.c |4 ++-- 1 files changed, 2 insertio