struct XmlTableRoutine: use C99 designated initializers

As in c27f8621ee et al.

Not as critical as other cases we've handled, but I figure if we're
going to add JsonbTableRoutine using TableFuncRoutine, this makes it
easier to jump around the code.
This commit is contained in:
Alvaro Herrera 2024-01-16 12:48:30 +01:00
parent c6605c1bdf
commit 5850253973
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
1 changed files with 8 additions and 8 deletions

View File

@ -213,14 +213,14 @@ static void XmlTableDestroyOpaque(struct TableFuncScanState *state);
const TableFuncRoutine XmlTableRoutine = const TableFuncRoutine XmlTableRoutine =
{ {
XmlTableInitOpaque, .InitOpaque = XmlTableInitOpaque,
XmlTableSetDocument, .SetDocument = XmlTableSetDocument,
XmlTableSetNamespace, .SetNamespace = XmlTableSetNamespace,
XmlTableSetRowFilter, .SetRowFilter = XmlTableSetRowFilter,
XmlTableSetColumnFilter, .SetColumnFilter = XmlTableSetColumnFilter,
XmlTableFetchRow, .FetchRow = XmlTableFetchRow,
XmlTableGetValue, .GetValue = XmlTableGetValue,
XmlTableDestroyOpaque .DestroyOpaque = XmlTableDestroyOpaque
}; };
#define NO_XML_SUPPORT() \ #define NO_XML_SUPPORT() \