[COMMITTERS] pgsql: Fix compiler warning

2017-09-20 Thread Peter Eisentraut
Fix compiler warning from gcc-7 -Wformat-truncation (via -Wall) Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/d42294fc00da4b97d04ddb4401b76295e8d86816 Modified Files -- src/bin/initdb/initdb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[COMMITTERS] pgsql: Fix compiler warning

2017-04-16 Thread Peter Eisentraut
Fix compiler warning Introduced by 41306a511c01dd299115cf447858a00e34aebbf6, happens with gcc 4.7.2. Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/1ec36a9eb4c29dc49838319d1e666f66961d757c Modified Files -- src/backend/catalog/objectaddress.c | 4

[COMMITTERS] pgsql: Fix compiler warning

2017-04-16 Thread Peter Eisentraut
Fix compiler warning Introduced by 087e696f066d31cb2f1269a1296a13dfe0bf7a11, happens with gcc 4.7.2. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/b6e6ae1dc6a647ae6c846c79a8515802a29ebaba Modified Files -- src/backend/catalog/objectaddress.c | 4

[COMMITTERS] pgsql: Fix compiler warning

2017-04-07 Thread Peter Eisentraut
Fix compiler warning on MSVC 2010 Author: Michael Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/28afad5c85b436f19d9f2c0e3197c7db960fef6f Modified Files -- src/backend/catalog/pg_depend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-

[COMMITTERS] pgsql: Fix compiler warning and add some more comments

2017-04-06 Thread Peter Eisentraut
Fix compiler warning and add some more comments Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/dc0400cc501ebe839c15a387911945d1585e4787 Modified Files -- src/backend/commands/tablecmds.c | 12 1 file changed, 12 insertions(+) -- Sent via p

[COMMITTERS] pgsql: Fix compiler warning

2017-03-13 Thread Peter Eisentraut
Fix compiler warning From: David Rowley Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/57488c1ce32181730a2724ceaad973c9bc2d7c3a Modified Files -- contrib/dblink/dblink.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) -- Sent via pgsql-com

[COMMITTERS] pgsql: Fix compiler warning.

2017-02-07 Thread Robert Haas
Fix compiler warning. Mithun Cy, per a report by Erik Rijkers Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/94708c0e8c32ad1c9c6ffbdb894fe158eda596e7 Modified Files -- src/backend/access/hash/hashpage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[COMMITTERS] pgsql: Fix compiler warning for non-TIOCGWINSZ case

2015-09-28 Thread Andrew Dunstan
Fix compiler warning for non-TIOCGWINSZ case Backpatch to 9.5 where the error was introduced. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/60fcee9e5e77dc748a9787fae34328917683b95e Modified Files -- src/bin/psql/print.c |4 ++-- 1 file change

[COMMITTERS] pgsql: Fix compiler warning for non-TIOCGWINSZ case

2015-09-28 Thread Andrew Dunstan
Fix compiler warning for non-TIOCGWINSZ case Backpatch to 9.5 where the error was introduced. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0557dc276f1022965f72dc8bcfc820dfd83a7dc2 Modified Files -- src/bin/psql/print.c |4 ++-- 1 file changed, 2 in

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8a0aa686f41f68c03683a9e37ba783a20cf53a97 Modified Files -- src/bin/psql/input.c |

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/c4e6d506c6b028d6ccdac4e2a23b3484fba6c39e Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/729d0056b42a512648e49daa727e5fe77d0cfeeb Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_0_STABLE Details --- http://git.postgresql.org/pg/commitdiff/47ae6bc5a9fead2c6b52ed861ad84f605b43a858 Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/84008295068c798b4a8623ed9d7873d277ade25c Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_1_STABLE Details --- http://git.postgresql.org/pg/commitdiff/54499a14fcfc44adfc5354ae801a49c12776073b Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning about unused function in non-readline case.

2015-09-28 Thread Andrew Dunstan
Fix compiler warning about unused function in non-readline case. Backpatch to all live branches to keep the code in sync. Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/a959db8acd058a311478d3692ac4ca35b747079c Modified Files -- src/bin/psql/input

[COMMITTERS] pgsql: Fix compiler warning for non-assert builds.

2014-11-10 Thread Kevin Grittner
Fix compiler warning for non-assert builds. Reported by Peter Geoghegan David Rowley Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/96a73fcdace57f0f631c1f56d1cb8a7a0773e93f Modified Files -- src/backend/access/brin/brin_revmap.c |2 +- 1 file changed

[COMMITTERS] pgsql: Fix compiler warning.

2014-09-22 Thread Robert Haas
Fix compiler warning. It is meaningless to declare a pass-by-value return type const. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/e38da8d6b1bd494b72a6f84310d30b55b3f67c3e Modified Files -- src/backend/commands/policy.c |4 ++-- 1 file changed, 2 i

[COMMITTERS] pgsql: Fix compiler warning in EXEC_BACKEND builds.

2014-01-28 Thread Robert Haas
Fix compiler warning in EXEC_BACKEND builds. Per a report by Rajeev Rastogi. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/b7643b19f0fdbfb1636db52e39db4be6f0174ce0 Modified Files -- src/backend/postmaster/postmaster.c |2 +- 1 file changed, 1 insert

[COMMITTERS] pgsql: Fix compiler warning.

2014-01-15 Thread Robert Haas
Fix compiler warning. Kevin Gritter reports that his compiler complains about inq and outq being possibly-uninitialized at the point where they are passed to shm_mq_attach(). They are initialized by the call to setup_dynamic_shared_memory, but apparently his compiler is inlining that function and

[COMMITTERS] pgsql: Fix compiler warning: Size isn't 64 bits on 32 bit platforms.

2014-01-15 Thread Robert Haas
Fix compiler warning: Size isn't 64 bits on 32 bit platforms. Report by Peter Eisentraut. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/be361ef2a0b58ce1f3faff7ccabe174e20d50497 Modified Files -- contrib/test_shm_mq/setup.c |2 +- 1 file changed, 1 i

[COMMITTERS] pgsql: Fix compiler warning.

2013-12-18 Thread Robert Haas
Fix compiler warning. get_user_name returns const char *, but we were assigning the result to a char * variable. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/6bb9d3017c173fa6102010d83ced7ad4409e5a49 Modified Files -- contrib/pg_upgrade/pg_upgrade.h |

[COMMITTERS] pgsql: Fix compiler warning in WaitForBackgroundWorkerStartup().

2013-09-19 Thread Robert Haas
Fix compiler warning in WaitForBackgroundWorkerStartup(). Per complaint from Andrew Gierth. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/496439d943565bdb6cb2eef534cce551c30e8a0f Modified Files -- src/backend/postmaster/bgworker.c |6 -- 1 file

[COMMITTERS] pgsql: Fix compiler warning about uninitialized variable

2012-12-30 Thread Peter Eisentraut
Fix compiler warning about uninitialized variable Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/0e690209eec61f8b70c57f8feeab0a3cd853103b Modified Files -- src/backend/commands/copy.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Sent v

[COMMITTERS] pgsql: Fix compiler warning seen on 64-bit machine.

2011-12-17 Thread Tom Lane
Fix compiler warning seen on 64-bit machine. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/85df5dbf5ac56f75cf9e23fe4504f2e672893f30 Modified Files -- src/backend/access/spgist/spgutils.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) --

[COMMITTERS] pgsql: Fix compiler warning.

2011-11-09 Thread Robert Haas
Fix compiler warning. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/452d1d193d3b15c4ff8ef56a9b50bdb91ea0665e Modified Files -- src/backend/commands/copy.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Sent via pgsql-committers mailing

[COMMITTERS] pgsql: Fix compiler warning.

2011-04-01 Thread Robert Haas
Fix compiler warning. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/7fcc75dd26ff0fee0b02f1b8b4215c298ca974ca Modified Files -- src/backend/replication/walsender.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) -- Sent via pgsql-committers

[COMMITTERS] pgsql: Fix compiler warning "res may be used uninitialized in this

2008-11-19 Thread Teodor Sigaev
Log Message: --- Fix compiler warning "res may be used uninitialized in this function". Actually, it can't but some compilers are not smart enough. Per Peter Eisentraut gripe. Modified Files: -- pgsql/src/backend/utils/adt: tsvector_op.c (r1.18 -> r1.19) (h

[COMMITTERS] pgsql: Fix compiler warning about uninitialized variable

2008-11-04 Thread Peter Eisentraut
Log Message: --- Fix compiler warning about uninitialized variable Modified Files: -- pgsql/src/backend/postmaster: pgstat.c (r1.183 -> r1.184) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c?r1=1.183&r2=1.184) -- Sent via

[COMMITTERS] pgsql: Fix compiler warning (unportable sprintf usage)

2008-09-30 Thread Tom Lane
Log Message: --- Fix compiler warning (unportable sprintf usage) Modified Files: -- pgsql/src/backend/storage/freespace: freespace.c (r1.61 -> r1.62) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/freespace/freespace.c?r1=1.61&r2=1.62)

[COMMITTERS] pgsql: Fix compiler warning introduced by recent patch.

2008-06-18 Thread Tom Lane
Log Message: --- Fix compiler warning introduced by recent patch. Tsk tsk. Modified Files: -- pgsql/src/backend/utils/mb: mbutils.c (r1.72 -> r1.73) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/mb/mbutils.c?r1=1.72&r2=1.73) -- Sent v

[COMMITTERS] pgsql: Fix compiler warning

2007-01-12 Thread Peter Eisentraut
Log Message: --- Fix compiler warning Modified Files: -- pgsql/src/backend/parser: parse_expr.c (r1.206 -> r1.207) (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_expr.c.diff?r1=1.206&r2=1.207) ---(end of