aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-07-14 23:54:56 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-07-15 00:11:00 +0200
commit9aa8268faa0ec2904f55e85be5ec7b365c98edd1 (patch)
tree0031db6f1ab3403322cb9cb477d0ef8af56bf103 /src
parentbe850f1822e4b54d1d570eefa8a7242788011634 (diff)
downloadpostgresql-9aa8268faa0ec2904f55e85be5ec7b365c98edd1.tar.gz
postgresql-9aa8268faa0ec2904f55e85be5ec7b365c98edd1.zip
Fix some nonstandard C code indentation in grammar file
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/gram.y44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y
index eb241954387..10da5c5c51d 100644
--- a/src/backend/parser/gram.y
+++ b/src/backend/parser/gram.y
@@ -3672,14 +3672,14 @@ ColConstraintElem:
Constraint *n = makeNode(Constraint);
n->contype = CONSTR_FOREIGN;
n->location = @1;
- n->pktable = $2;
- n->fk_attrs = NIL;
- n->pk_attrs = $3;
- n->fk_matchtype = $4;
- n->fk_upd_action = (char) ($5 >> 8);
- n->fk_del_action = (char) ($5 & 0xFF);
- n->skip_validation = false;
- n->initially_valid = true;
+ n->pktable = $2;
+ n->fk_attrs = NIL;
+ n->pk_attrs = $3;
+ n->fk_matchtype = $4;
+ n->fk_upd_action = (char) ($5 >> 8);
+ n->fk_del_action = (char) ($5 & 0xFF);
+ n->skip_validation = false;
+ n->initially_valid = true;
$$ = (Node *)n;
}
;
@@ -3865,13 +3865,13 @@ ConstraintElem:
Constraint *n = makeNode(Constraint);
n->contype = CONSTR_EXCLUSION;
n->location = @1;
- n->access_method = $2;
- n->exclusions = $4;
- n->including = $6;
- n->options = $7;
- n->indexname = NULL;
- n->indexspace = $8;
- n->where_clause = $9;
+ n->access_method = $2;
+ n->exclusions = $4;
+ n->including = $6;
+ n->options = $7;
+ n->indexname = NULL;
+ n->indexspace = $8;
+ n->where_clause = $9;
processCASbits($10, @10, "EXCLUDE",
&n->deferrable, &n->initdeferred, NULL,
NULL, yyscanner);
@@ -3883,12 +3883,12 @@ ConstraintElem:
Constraint *n = makeNode(Constraint);
n->contype = CONSTR_FOREIGN;
n->location = @1;
- n->pktable = $7;
- n->fk_attrs = $4;
- n->pk_attrs = $8;
- n->fk_matchtype = $9;
- n->fk_upd_action = (char) ($10 >> 8);
- n->fk_del_action = (char) ($10 & 0xFF);
+ n->pktable = $7;
+ n->fk_attrs = $4;
+ n->pk_attrs = $8;
+ n->fk_matchtype = $9;
+ n->fk_upd_action = (char) ($10 >> 8);
+ n->fk_del_action = (char) ($10 & 0xFF);
processCASbits($11, @11, "FOREIGN KEY",
&n->deferrable, &n->initdeferred,
&n->skip_validation, NULL,
@@ -5747,7 +5747,7 @@ DefineStmt:
{
CreateRangeStmt *n = makeNode(CreateRangeStmt);
n->typeName = $3;
- n->params = $6;
+ n->params = $6;
$$ = (Node *)n;
}
| CREATE TEXT_P SEARCH PARSER any_name definition