pgsql: Silence compiler warning.

2025-03-18 Thread Tom Lane
Silence compiler warning. Assorted buildfarm members are complaining about "'process_list' may be used uninitialized in this function" since f76892c9f, presumably because they don't trust that the switch case labels are exhaustive. We can silence that by initializing the variable to NULL. Should

pgsql: Silence compiler warning introduced in 1edb3b491b

2024-01-25 Thread Amit Langote
Silence compiler warning introduced in 1edb3b491b Reported-by: Richard Guo Discussion: https://postgr.es/m/cambws48qeoe9du5tuuxrkgq6vc9oy+tqoorq6jpob14-e1z...@mail.gmail.com Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/fba2112b1569fd001a9e54dfdd73fd3cb8f16140

pgsql: Silence compiler warning in release 11 and 12 branches

2023-08-27 Thread Andrew Dunstan
Silence compiler warning in release 11 and 12 branches The offending code is not present in later branches. Discussion: https://postgr.es/m/ba2150c1-8485-6597-fafe-4fcd39e49...@dunslane.net Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f06e1711d2e64aa6f56

pgsql: Silence compiler warning in release 11 and 12 branches

2023-08-27 Thread Andrew Dunstan
Silence compiler warning in release 11 and 12 branches The offending code is not present in later branches. Discussion: https://postgr.es/m/ba2150c1-8485-6597-fafe-4fcd39e49...@dunslane.net Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/dd9779141eacbad0867

pgsql: Silence compiler warning in non-assert builds.

2021-03-31 Thread Tom Lane
Silence compiler warning in non-assert builds. Per buildfarm. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/8998e3cafa23632790787b8cc726998e84067259 Modified Files -- contrib/postgres_fdw/postgres_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

Re: pgsql: Silence compiler warning in nbtinsert.c.

2020-02-26 Thread Peter Geoghegan
On Wed, Feb 26, 2020 at 3:07 PM Alvaro Herrera wrote: > I'm seeing another one: > > /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function > '_bt_insertonpg': > /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:4: warning: > 'oposting' may be used uninitialized in

Re: pgsql: Silence compiler warning in nbtinsert.c.

2020-02-26 Thread Alvaro Herrera
On 2020-Feb-26, Peter Geoghegan wrote: > Silence compiler warning in nbtinsert.c. > > Per buildfarm member longfin. I'm seeing another one: /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c: In function '_bt_insertonpg': /pgsql/source/master/src/backend/access/nbtree/nbtinsert.c:1231:

pgsql: Silence compiler warning in nbtinsert.c.

2020-02-26 Thread Peter Geoghegan
Silence compiler warning in nbtinsert.c. Per buildfarm member longfin. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/2d8a6fad18fcec1850b79ddcf3a0032058d86715 Modified Files -- src/backend/access/nbtree/nbtinsert.c | 2 +- 1 file changed, 1 insertion(+)

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL_11_STABLE Details --

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL9_6_STABLE Details --

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL9_5_STABLE Details --

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL_10_STABLE Details --

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL_12_STABLE Details --

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- master Details --- https

pgsql: Silence compiler warning, hopefully.

2019-07-19 Thread Tom Lane
Silence compiler warning, hopefully. Absorb commit e5e04c962a5d12eebbf867ca25905b3ccc34cbe0 from upstream IANA code, in hopes of silencing warnings from MSVC about negating a bool value. Discussion: https://postgr.es/m/20190719035347.gj1...@paquier.xyz Branch -- REL9_4_STABLE Details --

pgsql: Silence compiler warning

2019-06-14 Thread Alvaro Herrera
Silence compiler warning Introduced in de87a084c0a5. Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/1f8f144fe3a98928a026af9c2a45e57a962cc90d Modified Files -- src/backend/access/heap/heapam.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-

pgsql: Silence compiler warning

2019-06-14 Thread Alvaro Herrera
Silence compiler warning Introduced in de87a084c0a5. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/744639739c7c6a53bcbf4cd6fe765d7ebd89716a Modified Files -- src/backend/access/heap/heapam.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-

pgsql: Silence compiler warning

2019-06-14 Thread Alvaro Herrera
Silence compiler warning Introduced in de87a084c0a5. Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/563357a12c9b1cdbae29a2d0d09eb9f2c01da4d6 Modified Files -- src/backend/access/heap/heapam.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-

pgsql: Silence compiler warning

2019-06-14 Thread Alvaro Herrera
Silence compiler warning Introduced in de87a084c0a5. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3da73d6839dc47f1f47ca57974bf28e5abd9b572 Modified Files -- src/backend/access/heap/heapam.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

pgsql: Silence compiler warning

2018-11-30 Thread Alvaro Herrera
Silence compiler warning My original coding was questionable anyway. Reported-by: Sergei Kornilov Discussion: https://postgr.es/m/9645101543575...@myt6-27270b78ac4f.qloud-c.yandex.net Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9dc122585551516309c9362e673effdb

pgsql: Silence compiler warning in Assert()

2018-10-08 Thread Alvaro Herrera
Silence compiler warning in Assert() gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but evidently lots of other compilers do, according to Michael Paquier, Peter Eisentraut, Arthur Zakirov, Tomas Vondra. Discussion: too many to list Branch -- REL_11_STABLE Details ---

pgsql: Silence compiler warning in Assert()

2018-10-08 Thread Alvaro Herrera
Silence compiler warning in Assert() gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but evidently lots of other compilers do, according to Michael Paquier, Peter Eisentraut, Arthur Zakirov, Tomas Vondra. Discussion: too many to list Branch -- master Details --- https:/

pgsql: Silence compiler warning in Assert()

2018-10-08 Thread Alvaro Herrera
Silence compiler warning in Assert() gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but evidently lots of other compilers do, according to Michael Paquier, Peter Eisentraut, Arthur Zakirov, Tomas Vondra. Discussion: too many to list Branch -- REL_10_STABLE Details ---

pgsql: Silence compiler warning in Assert()

2018-10-08 Thread Alvaro Herrera
Silence compiler warning in Assert() gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but evidently lots of other compilers do, according to Michael Paquier, Peter Eisentraut, Arthur Zakirov, Tomas Vondra. Discussion: too many to list Branch -- REL9_5_STABLE Details ---

pgsql: Silence compiler warning in Assert()

2018-10-08 Thread Alvaro Herrera
Silence compiler warning in Assert() gcc 6.3 does not whine about this mistake I made in 39808e8868c8 but evidently lots of other compilers do, according to Michael Paquier, Peter Eisentraut, Arthur Zakirov, Tomas Vondra. Discussion: too many to list Branch -- REL9_6_STABLE Details ---