Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5850253

Browse files
committed
struct XmlTableRoutine: use C99 designated initializers
As inc27f862 et al.Not as critical as other cases we've handled, but I figure if we'regoing to add JsonbTableRoutine using TableFuncRoutine, this makes iteasier to jump around the code.
1 parentc6605c1 commit5850253

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
constTableFuncRoutineXmlTableRoutine=
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
#defineNO_XML_SUPPORT() \

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp