pgsql: Get rid of anonymous struct

Поиск
Список
Период
Сортировка
От John Naylor
Тема pgsql: Get rid of anonymous struct
Дата
Msg-id E1ru7co-001GbH-Ey@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Get rid of anonymous struct

This is a C11 feature, and we require C99. While at it, go the further
step and get rid of the surrounding union (with uintptr_t) entirely,
as there is currently no use case for this file to access the header of
BlocktableEntry as a uintptr_t, and there are no additional alignment
requirements. The least invasive way seems to be to transfer the old
union name to this struct.

Reported by Pavel Borisov and Andres Freund, per buildfarm member mylodon
Reviewed by Pavel Borisov

Discussion: https://postgr.es/m/CALT9ZEH11NYV8AOzKb1bWhCf6J0H=H31f0MgT9xX+HdqvcA1rw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bf183f168c447355ba82151f1c7305368a95c834

Modified Files
--------------
src/backend/access/common/tidstore.c | 43 ++++++++++++++++++------------------
1 file changed, 21 insertions(+), 22 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: pgsql: With gssencmode='require', check credential cache before connect
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [MASSMAIL]pgsql: Fix whitespace