pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Suppress compiler warning in pub_collist_to_bitmapset().
Date: Sat, 26 Mar 2022 15:53:45 +0000
Message-ID: <E1nY8jY-001U4e-OO@gemulon.postgresql.org> (raw)

Suppress compiler warning in pub_collist_to_bitmapset().

A fair percentage of the buildfarm doesn't recognize that oldcxt
won't be used uninitialized; silence those warnings by initializing it.

While here, upgrade the function's thoroughly inadequate header comment.

Oversight in 923def9a5, per buildfarm.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/979cd655c13c3ea5d7df1db84ef9c9c85c0ea6b3

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



Message-ID: <E1nY8jY-001U4e-OO@gemulon.postgresql.org>
Permalink:  ../E1nY8jY-001U4e-OO@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nY8jY-001U4e-OO@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Suppress compiler warning in pub_collist_to_bitmapset().
  In-Reply-To: <E1nY8jY-001U4e-OO@gemulon.postgresql.org>
  References: <E1nY8jY-001U4e-OO@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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