[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: Fix multiple bugs in contrib/pgstattuple's pgstatindex() functio

2016-02-18 Thread Tom Lane
Fix multiple bugs in contrib/pgstattuple's pgstatindex() function. Dead or half-dead index leaf pages were incorrectly reported as live, as a consequence of a code rearrangement I made (during a moment of severe brain fade, evidently) in commit d287818eb514d431. The index metapage was not counted

[COMMITTERS] pgsql: pg_upgrade: suppress creation of delete script

2016-02-18 Thread Bruce Momjian
pg_upgrade: suppress creation of delete script Suppress creation of the pg_upgrade delete script when the new data directory is inside the old data directory. Reported-by: IRC Backpatch-through: 9.3, where delete script tests were added Branch -- REL9_5_STABLE Details --- http://git.p

[COMMITTERS] pgsql: pg_upgrade: suppress creation of delete script

2016-02-18 Thread Bruce Momjian
pg_upgrade: suppress creation of delete script Suppress creation of the pg_upgrade delete script when the new data directory is inside the old data directory. Reported-by: IRC Backpatch-through: 9.3, where delete script tests were added Branch -- REL9_3_STABLE Details --- http://git.p

[COMMITTERS] pgsql: pg_upgrade: suppress creation of delete script

2016-02-18 Thread Bruce Momjian
pg_upgrade: suppress creation of delete script Suppress creation of the pg_upgrade delete script when the new data directory is inside the old data directory. Reported-by: IRC Backpatch-through: 9.3, where delete script tests were added Branch -- REL9_4_STABLE Details --- http://git.p

[COMMITTERS] pgsql: pg_upgrade: suppress creation of delete script

2016-02-18 Thread Bruce Momjian
pg_upgrade: suppress creation of delete script Suppress creation of the pg_upgrade delete script when the new data directory is inside the old data directory. Reported-by: IRC Backpatch-through: 9.3, where delete script tests were added Branch -- master Details --- http://git.postgres

[COMMITTERS] pgsql: Add an explicit representation of the output targetlist to Paths

2016-02-18 Thread Tom Lane
Add an explicit representation of the output targetlist to Paths. Up to now, there's been an assumption that all Paths for a given relation compute the same output column set (targetlist). However, there are good reasons to remove that assumption. For example, an indexscan on an expression index

[COMMITTERS] pgsql: pg_dump: Fix inconsistent sscanf() conversions

2016-02-18 Thread Peter Eisentraut
pg_dump: Fix inconsistent sscanf() conversions It was using %u to read a string that was earlier produced by snprintf with %d into a signed integer variable. This seems to work in practice but is incorrect. found by cppcheck Branch -- master Details --- http://git.postgresql.org/pg/com