Use C99 designated initializers for some structs
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 29 Aug 2018 06:36:30 +0000 (08:36 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 7 Sep 2018 09:40:03 +0000 (11:40 +0200)
commit98afa68d935215e8ab2c7de7fb45972a03e3da26
treeded48d64b8a9e943a5ea82de6675952d7050aa45
parent75f7855369ec56d4a8e7d6eae98aff1182b85cac
Use C99 designated initializers for some structs

These are just a few particularly egregious cases that were hard to read
and write, and error prone because of many similar adjacent types.

Discussion: https://www.postgresql.org/message-id/flat/4c9f01be-9245-2148-b569-61a8562ef190%402ndquadrant.com
src/backend/access/transam/xact.c
src/backend/catalog/heap.c
src/bin/psql/tab-complete.c
src/pl/plpython/plpy_cursorobject.c
src/pl/plpython/plpy_planobject.c
src/pl/plpython/plpy_plpymodule.c
src/pl/plpython/plpy_resultobject.c
src/pl/plpython/plpy_subxactobject.c