pgsql: Suppress compiler warning in pub_collist_to_bitmapset().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Suppress compiler warning in pub_collist_to_bitmapset().
Date: 2022-03-26 15:53:45
Message-ID: E1nY8jY-001U4e-OO@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2022-03-26 18:14:49 pgsql: Move prattrs to the pg_publication_rel section in docs
Previous Message Justin Pryzby 2022-03-26 03:13:53 Re: pgsql: Add 'basebackup_to_shell' contrib module.