mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-08 04:47:35 +08:00
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:
@ -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() \
|
||||
|
||||
Reference in New Issue
Block a user