pgsql: struct PQWalReceiverFunctions: use designated initializers - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: struct PQWalReceiverFunctions: use designated initializers
Date
Msg-id E1oM569-000GMt-VF@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Add missing space in _outA_Const() output
Next
From: Robert Haas
Date:
Subject: pgsql: Fix non-specific error message.