pgsql: Rename static function to avoid conflicting names - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Rename static function to avoid conflicting names
Date
Msg-id E1rXpPN-0058mk-N8@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Rename static function to avoid conflicting names

Commit a4fd3aa719e moved setup_cancel_handler out of psql and
exporeted it as a global function.  While pg_dump isn't using
the header it's exported in,  having a conflicting name still
risks causing confusion when grepping the code for callsites,
so rename the static function in pg_dump to avoid this.

Author: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/20240126094245.cf6718cc659273765f3ab69a@sraoss.co.jp

Branch
------
master

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

Modified Files
--------------
src/bin/pg_dump/parallel.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Remove Start* macros in postmaster.c.
Next
From: John Naylor
Date:
Subject: pgsql: Fix warnings in cpluspluscheck