pgsql: Fix duplicate typedef from commit 0d8c9c121.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix duplicate typedef from commit 0d8c9c121.
Date: 2020-04-21 15:21:26
Message-ID: E1jQuiE-0000V1-Qh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix duplicate typedef from commit 0d8c9c121.

Older gcc versions don't like duplicate typedefs, so get rid of
that in favor of doing it like we do it elsewhere, ie just use
a "struct" declaration when trying to avoid importing a whole
header file.

Also, there seems no reason to include stringinfo.h here at all,
so get rid of that addition too.

Discussion: https://postgr.es/m/27239.1587415696@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2117c3cb3d51e73290f464ad725fe829c96b9213

Modified Files
--------------
src/include/replication/basebackup.h | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-04-21 16:57:02 pgsql: Allow matchingsel() to be used with operators that might return
Previous Message Fujii Masao 2020-04-21 05:06:36 pgsql: Mention pg_promote() as a method to trigger promotion in documen