struct XmlTableRoutine: use C99 designated initializers
As in c27f8621eed 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:
parent
c6605c1bdf
commit
5850253973
@ -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() \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user