[COMMITTERS] pgsql: Fix uninitialized variable in dshash.c.

2017-09-18 Thread Andres Freund
Fix uninitialized variable in dshash.c. A bugfix for commit 8c0d7bafad36434cb08ac2c78e69ae72c194ca20. The code would have crashed if hashtable->size_log2 ever had the same value as hashtable->control->size_log2 by coincidence. Per Valgrind. Author: Thomas Munro Reported-By: Tomas Vondra Discuss

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2017-09-08 Thread Tom Lane
Fix uninitialized-variable bug. map_partition_varattnos() failed to set its found_whole_row output parameter if the given expression list was NIL. This seems to be a pre-existing bug that chanced to be exposed by commit 6f6b99d13. It might be unreachable in v10, but I have little faith in that pr

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2017-09-08 Thread Tom Lane
Fix uninitialized-variable bug. map_partition_varattnos() failed to set its found_whole_row output parameter if the given expression list was NIL. This seems to be a pre-existing bug that chanced to be exposed by commit 6f6b99d13. It might be unreachable in v10, but I have little faith in that pr

[COMMITTERS] pgsql: Fix uninitialized variable.

2016-11-21 Thread Tom Lane
Fix uninitialized variable. Oversight in a734fd5d1. Michael Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ae92a9a3806c025653140ee6316a82d55e24b82c Modified Files -- src/backend/postmaster/autovacuum.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2015-10-09 Thread Tom Lane
Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2015-10-09 Thread Tom Lane
Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2015-10-09 Thread Tom Lane
Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in

[COMMITTERS] pgsql: Fix uninitialized variable.

2015-05-15 Thread Tom Lane
Fix uninitialized variable. Per compiler warnings. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/66493dd7aa02e19e93f7d5687acaab70075db34f Modified Files -- src/backend/commands/explain.c |1 + 1 file changed, 1 insertion(+) -- Sent via pgsql-comm

[COMMITTERS] pgsql: Fix uninitialized-variable warning.

2014-11-25 Thread Tom Lane
Fix uninitialized-variable warning. In passing, add an Assert defending the presumption that bytes_left is positive to start with. (I'm not exactly convinced that using an unsigned type was such a bright thing here, but let's at least do this much.) Branch -- master Details --- http://g

[COMMITTERS] pgsql: Fix uninitialized-variable warnings induced by recent commit.

2014-04-30 Thread Tom Lane
Fix uninitialized-variable warnings induced by recent commit. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/5358bfdc98a47d26649ae094dab88842a0603968 Modified Files -- src/bin/psql/print.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --

[COMMITTERS] pgsql: Fix uninitialized variable.

2014-03-18 Thread Robert Haas
Fix uninitialized variable. Report from Andres Freund, but not his fix. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/a3b30d4cfe5f3ae718fd2cc6aa05b7707cac88dd Modified Files -- src/bin/pg_basebackup/pg_recvlogical.c |2 +- 1 file changed, 1 insertio

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2011-10-04 Thread Tom Lane
Fix uninitialized-variable bug. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/fa56a0c3e01c175695e932e6cdc2c6915df5adc6 Modified Files -- src/backend/access/transam/slru.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- Sent via pgsql-

[COMMITTERS] pgsql: Fix uninitialized-variable bug.

2007-03-27 Thread Tom Lane
Log Message: --- Fix uninitialized-variable bug. Modified Files: -- pgsql/contrib/tsearch2: dict_syn.c (r1.13 -> r1.14) (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tsearch2/dict_syn.c.diff?r1=1.13&r2=1.14) ---(end of b