pgsql: Fix duplicate typedef from commit 0d8c9c121.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix duplicate typedef from commit 0d8c9c121.
Дата
Msg-id E1jQuiE-0000V1-Qh@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Mention pg_promote() as a method to trigger promotion in documen
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow matchingsel() to be used with operators that might return