projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a585c
)
Remove useless double calls of make_parsestate().
author
Tom Lane
<
[email protected]
>
Thu, 17 Mar 2016 20:46:23 +0000
(16:46 -0400)
committer
Tom Lane
<
[email protected]
>
Thu, 17 Mar 2016 20:46:23 +0000
(16:46 -0400)
Aleksander Alekseev
src/backend/commands/policy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/commands/policy.c
b/src/backend/commands/policy.c
index 5c73dfc8c4619534cb3a8ef19810029d78b3a3b9..42b9f149d990ebc18d1bc51778e44c75d012aad6 100644
(file)
--- a/
src/backend/commands/policy.c
+++ b/
src/backend/commands/policy.c
@@
-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);