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

Commitcfffe83

Browse files
committed
Fix incorrect field type for PlannedStmt.jitFlags in outfuncs/readfuncs.
This field was a bool at one point, but now it's an int.Spotted by Hari Babu; trivial patch is by Ashutosh Bapat.Discussion:https://postgr.es/m/CAJrrPGedKiFE2fqntSauUfhapCksOJzam+QtHfSgx86LhXLeOQ@mail.gmail.com
1 parent84549eb commitcfffe83

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ _outPlannedStmt(StringInfo str, const PlannedStmt *node)
272272
WRITE_BOOL_FIELD(transientPlan);
273273
WRITE_BOOL_FIELD(dependsOnRole);
274274
WRITE_BOOL_FIELD(parallelModeNeeded);
275-
WRITE_BOOL_FIELD(jitFlags);
275+
WRITE_INT_FIELD(jitFlags);
276276
WRITE_NODE_FIELD(planTree);
277277
WRITE_NODE_FIELD(rtable);
278278
WRITE_NODE_FIELD(resultRelations);

‎src/backend/nodes/readfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1518,7 +1518,7 @@ _readPlannedStmt(void)
15181518
READ_BOOL_FIELD(transientPlan);
15191519
READ_BOOL_FIELD(dependsOnRole);
15201520
READ_BOOL_FIELD(parallelModeNeeded);
1521-
READ_BOOL_FIELD(jitFlags);
1521+
READ_INT_FIELD(jitFlags);
15221522
READ_NODE_FIELD(planTree);
15231523
READ_NODE_FIELD(rtable);
15241524
READ_NODE_FIELD(resultRelations);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp