struct PQWalReceiverFunctions: use designated initializers
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 11 Aug 2022 10:07:05 +0000 (12:07 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 11 Aug 2022 10:07:05 +0000 (12:07 +0200)
commit2c860777656ab34ba0cec8f780ee26e31187dd0c
treeafead42cc99cab27d6ae281d2bafcccec2cc7b26
parent4e6dcbb6ae77d9f6f20072d19e433cab8329ea9b
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
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c