Re: [COMMITTERS] pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64

2011-05-01 Thread Dave Page
Looks like you committed this before I got to it - moa is green, so I guess it works. Thanks. On Thursday, April 28, 2011, Tom Lane wrote: > Please see if the attached version works. > >                        regards, tom lane > > > Datum > pg_size_pretty(PG_FUNCTION_ARGS) > { >        int64

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
Make CLUSTER lock the old table's toast table before copying data. We must lock out autovacuuming of the old toast table before computing the OldestXmin horizon we will use. Otherwise, autovacuum could start on the toast table later, compute a later OldestXmin horizon, and remove as DEAD toast tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
Make CLUSTER lock the old table's toast table before copying data. We must lock out autovacuuming of the old toast table before computing the OldestXmin horizon we will use. Otherwise, autovacuum could start on the toast table later, compute a later OldestXmin horizon, and remove as DEAD toast tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
Make CLUSTER lock the old table's toast table before copying data. We must lock out autovacuuming of the old toast table before computing the OldestXmin horizon we will use. Otherwise, autovacuum could start on the toast table later, compute a later OldestXmin horizon, and remove as DEAD toast tu

[COMMITTERS] pgsql: Make CLUSTER lock the old table's toast table before copying dat

2011-05-01 Thread Tom Lane
Make CLUSTER lock the old table's toast table before copying data. We must lock out autovacuuming of the old toast table before computing the OldestXmin horizon we will use. Otherwise, autovacuum could start on the toast table later, compute a later OldestXmin horizon, and remove as DEAD toast tu

[COMMITTERS] pgsql: Add missing gitignore file

2011-05-01 Thread Peter Eisentraut
Add missing gitignore file Branch -- REL9_0_STABLE Details --- http://git.postgresql.org/pg/commitdiff/e79518e93744a547ff874832dd40638b9531105e Modified Files -- contrib/uuid-ossp/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Sent via pgsql-commit

[COMMITTERS] pgsql: Add missing gitignore file

2011-05-01 Thread Peter Eisentraut
Add missing gitignore file Branch -- REL8_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/9742dfc8a55ca93205b5a08f4cf415eab3691e23 Modified Files -- contrib/uuid-ossp/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Sent via pgsql-commit

[COMMITTERS] pgsql: Catch errors in for loop in makefile

2011-05-01 Thread Peter Eisentraut
Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. This is the minimal backpatch version. The fix in head is more elaborate. Branch -- REL9_0_STABLE Details --- http://git.postgresql.org/pg/commitdiff/c8c93c6e73b98fc8e0e371a8391d4824732437f

[COMMITTERS] pgsql: Catch errors in for loop in makefile

2011-05-01 Thread Peter Eisentraut
Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. This is the minimal backpatch version. The fix in head is more elaborate. Branch -- REL8_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/9c52bad39857fb6fbb2ef4c99b6872683c830d3

[COMMITTERS] pgsql: Add missing gitignore file

2011-05-01 Thread Peter Eisentraut
Add missing gitignore file Branch -- REL8_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/c01da31713941c92611ebfc0c52e9ca310c146f8 Modified Files -- contrib/uuid-ossp/.gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Sent via pgsql-commit

[COMMITTERS] pgsql: Rewrite installation makefile rules without for loops

2011-05-01 Thread Peter Eisentraut
Rewrite installation makefile rules without for loops install-sh can install multiple files at once, so for loops are not necessary. This was already changed for the rest of the code some time ago, but pgxs.mk was apparently forgotten, and the obsolete coding style has now been copied to the PLs

[COMMITTERS] pgsql: Catch errors in for loop in makefile

2011-05-01 Thread Peter Eisentraut
Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. This is the minimal backpatch version. The fix in head is more elaborate. Branch -- REL8_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/fbbe0186dc2b138024d7a20c98844000cffa51c

[COMMITTERS] pgsql: Catch errors in for loop in makefile

2011-05-01 Thread Peter Eisentraut
Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. This is the minimal backpatch version. The fix in head is more elaborate. Branch -- REL8_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/7b9bbb68e38d9f39ec2b555b0b9aab9e50585c3

[COMMITTERS] pgsql: Catch errors in for loop in makefile

2011-05-01 Thread Peter Eisentraut
Catch errors in for loop in makefile Add "|| exit" so that the rule aborts when a command fails. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/5c436a79e0f4e11f80c5878a0309ce60f79e17b1 Modified Files -- src/pl/plpython/Makefile |2 +- 1 files changed