pgsql: struct PQWalReceiverFunctions: use designated initializers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: struct PQWalReceiverFunctions: use designated initializers
Дата
Msg-id E1oM569-000GMt-VF@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
struct PQWalReceiverFunctions: use designated initializers

We now require that compilers support this, and it makes the code easier
to trace, so change it.  I'm fixated on this particular struct because
I've had to navigate around it a number of times, but there are others
elsewhere that could use the same treatment.

Discussion: https://postgr.es/m/20220810140300.ixhbmm4svo5yypv6@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2c860777656ab34ba0cec8f780ee26e31187dd0c

Modified Files
--------------
.../libpqwalreceiver/libpqwalreceiver.c            | 30 +++++++++++-----------
1 file changed, 15 insertions(+), 15 deletions(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add missing space in _outA_Const() output
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix non-specific error message.