Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
bd46b521
Commit
bd46b521
authored
Sep 04, 2012
by
Magnus Hagander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove some useless trailing whitespace
Michael Paquier
parent
2f0c7d58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
src/backend/tcop/utility.c
src/backend/tcop/utility.c
+15
-15
No files found.
src/backend/tcop/utility.c
View file @
bd46b521
...
@@ -778,7 +778,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -778,7 +778,7 @@ standard_ProcessUtility(Node *parsetree,
ListCell
*
l
;
ListCell
*
l
;
LOCKMODE
lockmode
;
LOCKMODE
lockmode
;
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
/*
/*
...
@@ -832,7 +832,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -832,7 +832,7 @@ standard_ProcessUtility(Node *parsetree,
{
{
AlterDomainStmt
*
stmt
=
(
AlterDomainStmt
*
)
parsetree
;
AlterDomainStmt
*
stmt
=
(
AlterDomainStmt
*
)
parsetree
;
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
/*
/*
...
@@ -889,7 +889,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -889,7 +889,7 @@ standard_ProcessUtility(Node *parsetree,
break
;
break
;
case
T_AlterDefaultPrivilegesStmt
:
case
T_AlterDefaultPrivilegesStmt
:
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
ExecAlterDefaultPrivilegesStmt
((
AlterDefaultPrivilegesStmt
*
)
parsetree
);
ExecAlterDefaultPrivilegesStmt
((
AlterDefaultPrivilegesStmt
*
)
parsetree
);
break
;
break
;
...
@@ -901,7 +901,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -901,7 +901,7 @@ standard_ProcessUtility(Node *parsetree,
{
{
DefineStmt
*
stmt
=
(
DefineStmt
*
)
parsetree
;
DefineStmt
*
stmt
=
(
DefineStmt
*
)
parsetree
;
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
switch
(
stmt
->
kind
)
switch
(
stmt
->
kind
)
...
@@ -950,7 +950,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -950,7 +950,7 @@ standard_ProcessUtility(Node *parsetree,
{
{
CompositeTypeStmt
*
stmt
=
(
CompositeTypeStmt
*
)
parsetree
;
CompositeTypeStmt
*
stmt
=
(
CompositeTypeStmt
*
)
parsetree
;
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineCompositeType
(
stmt
->
typevar
,
stmt
->
coldeflist
);
DefineCompositeType
(
stmt
->
typevar
,
stmt
->
coldeflist
);
...
@@ -958,19 +958,19 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -958,19 +958,19 @@ standard_ProcessUtility(Node *parsetree,
break
;
break
;
case
T_CreateEnumStmt
:
/* CREATE TYPE AS ENUM */
case
T_CreateEnumStmt
:
/* CREATE TYPE AS ENUM */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineEnum
((
CreateEnumStmt
*
)
parsetree
);
DefineEnum
((
CreateEnumStmt
*
)
parsetree
);
break
;
break
;
case
T_CreateRangeStmt
:
/* CREATE TYPE AS RANGE */
case
T_CreateRangeStmt
:
/* CREATE TYPE AS RANGE */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineRange
((
CreateRangeStmt
*
)
parsetree
);
DefineRange
((
CreateRangeStmt
*
)
parsetree
);
break
;
break
;
case
T_AlterEnumStmt
:
/* ALTER TYPE (enum) */
case
T_AlterEnumStmt
:
/* ALTER TYPE (enum) */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
/*
/*
...
@@ -983,19 +983,19 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -983,19 +983,19 @@ standard_ProcessUtility(Node *parsetree,
break
;
break
;
case
T_ViewStmt
:
/* CREATE VIEW */
case
T_ViewStmt
:
/* CREATE VIEW */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineView
((
ViewStmt
*
)
parsetree
,
queryString
);
DefineView
((
ViewStmt
*
)
parsetree
,
queryString
);
break
;
break
;
case
T_CreateFunctionStmt
:
/* CREATE FUNCTION */
case
T_CreateFunctionStmt
:
/* CREATE FUNCTION */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
CreateFunction
((
CreateFunctionStmt
*
)
parsetree
,
queryString
);
CreateFunction
((
CreateFunctionStmt
*
)
parsetree
,
queryString
);
break
;
break
;
case
T_AlterFunctionStmt
:
/* ALTER FUNCTION */
case
T_AlterFunctionStmt
:
/* ALTER FUNCTION */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
AlterFunction
((
AlterFunctionStmt
*
)
parsetree
);
AlterFunction
((
AlterFunctionStmt
*
)
parsetree
);
break
;
break
;
...
@@ -1004,7 +1004,7 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -1004,7 +1004,7 @@ standard_ProcessUtility(Node *parsetree,
{
{
IndexStmt
*
stmt
=
(
IndexStmt
*
)
parsetree
;
IndexStmt
*
stmt
=
(
IndexStmt
*
)
parsetree
;
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
if
(
stmt
->
concurrent
)
if
(
stmt
->
concurrent
)
PreventTransactionChain
(
isTopLevel
,
PreventTransactionChain
(
isTopLevel
,
...
@@ -1026,19 +1026,19 @@ standard_ProcessUtility(Node *parsetree,
...
@@ -1026,19 +1026,19 @@ standard_ProcessUtility(Node *parsetree,
break
;
break
;
case
T_RuleStmt
:
/* CREATE RULE */
case
T_RuleStmt
:
/* CREATE RULE */
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineRule
((
RuleStmt
*
)
parsetree
,
queryString
);
DefineRule
((
RuleStmt
*
)
parsetree
,
queryString
);
break
;
break
;
case
T_CreateSeqStmt
:
case
T_CreateSeqStmt
:
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
DefineSequence
((
CreateSeqStmt
*
)
parsetree
);
DefineSequence
((
CreateSeqStmt
*
)
parsetree
);
break
;
break
;
case
T_AlterSeqStmt
:
case
T_AlterSeqStmt
:
if
(
isCompleteQuery
)
if
(
isCompleteQuery
)
EventTriggerDDLCommandStart
(
parsetree
);
EventTriggerDDLCommandStart
(
parsetree
);
AlterSequence
((
AlterSeqStmt
*
)
parsetree
);
AlterSequence
((
AlterSeqStmt
*
)
parsetree
);
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment