Skip to content

Commit 5850253

Browse files
committed
struct XmlTableRoutine: use C99 designated initializers
As in c27f862 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.
1 parent c6605c1 commit 5850253

File tree

1 file changed

+8
-8
lines changed
  • src/backend/utils/adt

1 file changed

+8
-8
lines changed

src/backend/utils/adt/xml.c

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -213,14 +213,14 @@ static void XmlTableDestroyOpaque(struct TableFuncScanState *state);
213213

214214
const TableFuncRoutine XmlTableRoutine =
215215
{
216-
XmlTableInitOpaque,
217-
XmlTableSetDocument,
218-
XmlTableSetNamespace,
219-
XmlTableSetRowFilter,
220-
XmlTableSetColumnFilter,
221-
XmlTableFetchRow,
222-
XmlTableGetValue,
223-
XmlTableDestroyOpaque
216+
.InitOpaque = XmlTableInitOpaque,
217+
.SetDocument = XmlTableSetDocument,
218+
.SetNamespace = XmlTableSetNamespace,
219+
.SetRowFilter = XmlTableSetRowFilter,
220+
.SetColumnFilter = XmlTableSetColumnFilter,
221+
.FetchRow = XmlTableFetchRow,
222+
.GetValue = XmlTableGetValue,
223+
.DestroyOpaque = XmlTableDestroyOpaque
224224
};
225225

226226
#define NO_XML_SUPPORT() \

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy