pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Suppress new "may be used uninitialized" warning.
13+ messages / 1 participants
[nested] [flat]

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/825c72c071969bede8e15846a89a3bfa5b1be66b

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/54bc22fbf6ede8aac765acee5ac3a9d50604fb5f

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f8f9110b4d33821ccb3e67454b3799448e2a325f

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d14e94ac45795f5bf55ba80b2a6f5acd02702e0f

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/803655e660edbfa87e5479fc68799ba9780638ac

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4dc0c933f30bf5db5aa07acee6ff5f1e2f16401e

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2024-11-03 02:44 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2024-11-03 02:44 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Buildfarm member mamba fails to deduce that the function never uses this
variable without initializing it.  Back-patch to v12, like commit
b412f402d1e020c5dac94f3bf4a005db69519b99.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/766809db39029115ee3e9e742b59dae4d9476e73

Modified Files
--------------
src/backend/catalog/index.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8cef93d8a5886b57099fcd32e92f12bc5df7bbd1

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d04b34d685a2b002d5c1577cbd9f046e827535c7

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/50d361f6223f8f560a7f6e36076ed333e9977a73

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2280ab3545167bd8bdaef28013f53144d828ed6e

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ec86152e02090d086caf170c77b3f559ce27e830

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread

* pgsql: Suppress new "may be used uninitialized" warning.
@ 2026-02-17 02:05 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 13+ messages in thread

From: Noah Misch @ 2026-02-17 02:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Suppress new "may be used uninitialized" warning.

Various buildfarm members, having compilers like gcc 8.5 and 6.3, fail
to deduce that text_substring() variable "E" is initialized if
slice_size!=-1.  This suppression approach quiets gcc 8.5; I did not
reproduce the warning elsewhere.  Back-patch to v14, like commit
9f4fd119b2cbb9a41ec0c19a8d6ec9b59b92c125.

Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/1157953.1771266105@sss.pgh.pa.us
Backpatch-through: 14

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a0769e74d65dba80717255faf78b494692729d6b

Modified Files
--------------
src/backend/utils/adt/varlena.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 13+ messages in thread


end of thread, other threads:[~2026-02-17 02:05 UTC | newest]

Thread overview: 13+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2024-11-03 02:44 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>
2026-02-17 02:05 pgsql: Suppress new "may be used uninitialized" warning. Noah Misch <noah@leadboat.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox