pgsql: pg_resetwal: Rename function to avoid potential conflict

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_resetwal: Rename function to avoid potential conflict
Date: 2020-02-22 12:29:57
Message-ID: E1j5Tuv-0001BW-8K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_resetwal: Rename function to avoid potential conflict

ReadControlFile() here conflicts with a function of the same name in
xlog.c. There is no actual conflict right now, but since
pg_resetwal.c reaches deep inside backend headers, it's possible in
the future.

Discussion: https://www.postgresql.org/message-id/e8f86ba5-48f1-a80a-7f1d-b76bcb9c5c47@2ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5f1b8260af961ddf05968c9c3e7f178a3ad5d2ea

Modified Files
--------------
src/bin/pg_resetwal/pg_resetwal.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-02-23 21:49:12 Re: pgsql: Add kqueue(2) support to the WaitEventSet API.
Previous Message Peter Geoghegan 2020-02-22 00:04:32 Re: pgsql: Assume that we have signed integral types and flexible array mem