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 =
|
||||
{
|
||||
XmlTableInitOpaque,
|
||||
XmlTableSetDocument,
|
||||
XmlTableSetNamespace,
|
||||
XmlTableSetRowFilter,
|
||||
XmlTableSetColumnFilter,
|
||||
XmlTableFetchRow,
|
||||
XmlTableGetValue,
|
||||
XmlTableDestroyOpaque
|
||||
.InitOpaque = XmlTableInitOpaque,
|
||||
.SetDocument = XmlTableSetDocument,
|
||||
.SetNamespace = XmlTableSetNamespace,
|
||||
.SetRowFilter = XmlTableSetRowFilter,
|
||||
.SetColumnFilter = XmlTableSetColumnFilter,
|
||||
.FetchRow = XmlTableFetchRow,
|
||||
.GetValue = XmlTableGetValue,
|
||||
.DestroyOpaque = XmlTableDestroyOpaque
|
||||
};
|
||||
|
||||
#define NO_XML_SUPPORT() \
|
||||
|
Loading…
x
Reference in New Issue
Block a user