pgsql: struct PQWalReceiverFunctions: use designated initializers

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: struct PQWalReceiverFunctions: use designated initializers
Date: 2022-08-11 10:07:31
Message-ID: E1oM569-000GMt-VF@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-08-11 18:12:18 pgsql: Fix non-specific error message.
Previous Message Peter Eisentraut 2022-08-11 08:42:20 pgsql: Add missing space in _outA_Const() output