pgsql: Suppress compiler warning in pub_collist_to_bitmapset(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Suppress compiler warning in pub_collist_to_bitmapset().
Date
Msg-id E1nY8jY-001U4e-OO@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tomas Vondra
Date:
Subject: pgsql: Allow specifying column lists for logical replication
Next
From: Tomas Vondra
Date:
Subject: pgsql: Move prattrs to the pg_publication_rel section in docs