pgsql: Rename static function to avoid conflicting names

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename static function to avoid conflicting names
Date: 2024-02-07 21:24:41
Message-ID: E1rXpPN-0058mk-N8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)sraoss(dot)co(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2024-02-08 03:09:55 pgsql: Fix warnings in cpluspluscheck
Previous Message Andres Freund 2024-02-07 20:31:38 gcc build warnings at -O3