Skip to content

Commit bd0ab28

Browse files
committed
Remove useless double calls of make_parsestate().
Aleksander Alekseev
1 parent c27033f commit bd0ab28

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)
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