Thread: pgsql: Suppress compiler warning in pub_collist_to_bitmapset().

pgsql: Suppress compiler warning in pub_collist_to_bitmapset().

From
Tom Lane
Date:
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(-)