pgsql: Fix duplicate typedef from commit 0d8c9c121. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix duplicate typedef from commit 0d8c9c121.
Date
Msg-id E1jQuiE-0000V1-Qh@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Mention pg_promote() as a method to trigger promotion in documen
Next
From: Tom Lane
Date:
Subject: pgsql: Allow matchingsel() to be used with operators that might return