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

Commitbd0ab28

Browse files
committed
Remove useless double calls of make_parsestate().
Aleksander Alekseev
1 parentc27033f commitbd0ab28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/commands/policy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ AlterPolicy(AlterPolicyStmt *stmt)
10811081
if (!attr_isnull)
10821082
{
10831083
char*qual_value;
1084-
ParseState*qual_pstate=make_parsestate(NULL);
1084+
ParseState*qual_pstate;
10851085

10861086
/* parsestate is built just to build the range table */
10871087
qual_pstate=make_parsestate(NULL);
@@ -1122,7 +1122,7 @@ AlterPolicy(AlterPolicyStmt *stmt)
11221122
if (!attr_isnull)
11231123
{
11241124
char*with_check_value;
1125-
ParseState*with_check_pstate=make_parsestate(NULL);
1125+
ParseState*with_check_pstate;
11261126

11271127
/* parsestate is built just to build the range table */
11281128
with_check_pstate=make_parsestate(NULL);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp