Thread: pgsql: struct PQWalReceiverFunctions: use designated initializers

pgsql: struct PQWalReceiverFunctions: use designated initializers

From
Alvaro Herrera
Date:
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(-)