[COMMITTERS] pgsql: Silence warning about unused variable, when building without ass

2012-03-08 Thread Heikki Linnakangas
Silence warning about unused variable, when building without assertions. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/d93f209f483f006534ae543667a1254b6fdec183 Modified Files -- src/backend/access/transam/xlog.c |3 +-- 1 files changed, 1 insertions(

[COMMITTERS] pgsql: ecpg: Fix rare memory leaks

2012-03-08 Thread Peter Eisentraut
ecpg: Fix rare memory leaks found by Coverity Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8dd4d10d481ec1da568ab424e62a3e50c069baaf Modified Files -- src/interfaces/ecpg/ecpglib/connect.c |4 src/interfaces/ecpg/ecpglib/execute.c |2 ++ 2 f

[COMMITTERS] pgsql: ecpg: Fix off-by-one error in memory copying

2012-03-08 Thread Peter Eisentraut
ecpg: Fix off-by-one error in memory copying In a rare case, one byte past the end of memory belonging to the sqlca_t structure would be written to. found by Coverity Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c5e073ca2deec1595e4fdd748f14fcb4122e8faf Modified

Re: [COMMITTERS] pgsql: psql: Fix invalid memory access

2012-03-08 Thread Peter Eisentraut
On ons, 2012-03-07 at 17:17 -0500, Tom Lane wrote: > Peter Eisentraut writes: > > psql: Fix invalid memory access > > Hm, should not this and your other recent commits get back-patched? I'm planning to get to that. -- Sent via pgsql-committers mailing list ([email protected]) T

[COMMITTERS] pgsql: Fix some issues with temp/transient tables in extension scripts.

2012-03-08 Thread Tom Lane
Fix some issues with temp/transient tables in extension scripts. Phil Sorber reported that a rewriting ALTER TABLE within an extension update script failed, because it creates and then drops a placeholder table; the drop was being disallowed because the table was marked as an extension member. We

[COMMITTERS] pgsql: Fix some issues with temp/transient tables in extension scripts.

2012-03-08 Thread Tom Lane
Fix some issues with temp/transient tables in extension scripts. Phil Sorber reported that a rewriting ALTER TABLE within an extension update script failed, because it creates and then drops a placeholder table; the drop was being disallowed because the table was marked as an extension member. We

[COMMITTERS] pgsql: psql: Remove useless code

2012-03-08 Thread Peter Eisentraut
psql: Remove useless code Apparently a copy-and-paste mistake introduced in 8ddd22f2456af0155f9c183894f481203e86b76e. found by Coverity Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/410ee35ed095d85bf49c60ab7fd096ddbb5cb0a1 Modified Files -- src/bin/ps

[COMMITTERS] pgsql: Update outdated comment. HeapTupleHeader.t_natts field doesn't e

2012-03-08 Thread Heikki Linnakangas
Update outdated comment. HeapTupleHeader.t_natts field doesn't exist anymore. Kevin Grittner Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/342baf4ce61f06ad3898490dc5125579d9e6bd18 Modified Files -- src/backend/access/common/heaptuple.c |6 -- 1