pgsql: Rename static function to avoid conflicting names

Started by Daniel Gustafssonover 2 years ago1 messagescomitters
Jump to latest
#1Daniel Gustafsson
daniel@yesql.se

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: /messages/by-id/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(-)