mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 17:37:19 +02:00
Remove useless double calls of make_parsestate().
Aleksander Alekseev
This commit is contained in:
parent
d0a585c699
commit
e52e22d932
@ -1081,7 +1081,7 @@ AlterPolicy(AlterPolicyStmt *stmt)
|
||||
if (!attr_isnull)
|
||||
{
|
||||
char *qual_value;
|
||||
ParseState *qual_pstate = make_parsestate(NULL);
|
||||
ParseState *qual_pstate;
|
||||
|
||||
/* parsestate is built just to build the range table */
|
||||
qual_pstate = make_parsestate(NULL);
|
||||
@ -1122,7 +1122,7 @@ AlterPolicy(AlterPolicyStmt *stmt)
|
||||
if (!attr_isnull)
|
||||
{
|
||||
char *with_check_value;
|
||||
ParseState *with_check_pstate = make_parsestate(NULL);
|
||||
ParseState *with_check_pstate;
|
||||
|
||||
/* parsestate is built just to build the range table */
|
||||
with_check_pstate = make_parsestate(NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user