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

Commit06ea3e2

Browse files
author
Nikita Glukhov
committed
Use Int32GetDatum() instead of PointerGetDatum()
1 parent71c25d7 commit06ea3e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/backend/executor/execQual.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,9 +392,9 @@ ExecEvalSubscriptionRef(SubscriptionRefExprState *sbstate,
392392
if(OidIsValid(typsubscription))
393393
{
394394
returnOidFunctionCall3(typsubscription,
395-
PointerGetDatum(SBS_EXEC),
396-
PointerGetDatum(sbstate),
397-
PointerGetDatum(&sbsdata));
395+
Int32GetDatum(SBS_EXEC),
396+
PointerGetDatum(sbstate),
397+
PointerGetDatum(&sbsdata));
398398
}
399399
else
400400
{

‎src/backend/parser/parse_node.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ transformContainerSubscripts(ParseState *pstate,
377377

378378

379379
prepared_sbsref= (SubscriptionRef*)OidFunctionCall3(typsubscription,
380-
PointerGetDatum(SBS_VALIDATION),
380+
Int32GetDatum(SBS_VALIDATION),
381381
PointerGetDatum(sbsref),
382382
PointerGetDatum(pstate));
383383

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp