diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-05-13 07:17:29 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-05-13 07:17:29 +0200 |
commit | 30ed71e423ee63b263730b86326da2a629a29f84 (patch) | |
tree | a9a45b929b38cbef8f99d05da6419ef2e56b5781 /src/backend/bootstrap | |
parent | 0cf16cb8ca4853b084c40eca310c4c9c3ebf7e2a (diff) | |
download | postgresql-30ed71e423ee63b263730b86326da2a629a29f84.tar.gz |
Indent C code in flex and bison files
In the style of pgindent, done semi-manually.
Discussion: https://www.postgresql.org/message-id/flat/7d062ecc-7444-23ec-a159-acd8adf9b586%40enterprisedb.com
Diffstat (limited to 'src/backend/bootstrap')
-rw-r--r-- | src/backend/bootstrap/bootparse.y | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y index 142433f63f..e5cf1b3d43 100644 --- a/src/backend/bootstrap/bootparse.y +++ b/src/backend/bootstrap/bootparse.y @@ -167,9 +167,9 @@ Boot_CreateStmt: } RPAREN { - TupleDesc tupdesc; - bool shared_relation; - bool mapped_relation; + TupleDesc tupdesc; + bool shared_relation; + bool mapped_relation; do_start(); @@ -218,7 +218,7 @@ Boot_CreateStmt: } else { - Oid id; + Oid id; id = heap_create_with_catalog($2, PG_CATALOG_NAMESPACE, @@ -269,8 +269,8 @@ Boot_InsertStmt: Boot_DeclareIndexStmt: XDECLARE INDEX boot_ident oidspec ON boot_ident USING boot_ident LPAREN boot_index_params RPAREN { - IndexStmt *stmt = makeNode(IndexStmt); - Oid relationId; + IndexStmt *stmt = makeNode(IndexStmt); + Oid relationId; elog(DEBUG4, "creating index \"%s\"", $3); @@ -321,8 +321,8 @@ Boot_DeclareIndexStmt: Boot_DeclareUniqueIndexStmt: XDECLARE UNIQUE INDEX boot_ident oidspec ON boot_ident USING boot_ident LPAREN boot_index_params RPAREN { - IndexStmt *stmt = makeNode(IndexStmt); - Oid relationId; + IndexStmt *stmt = makeNode(IndexStmt); + Oid relationId; elog(DEBUG4, "creating unique index \"%s\"", $4); @@ -400,7 +400,8 @@ boot_index_params: boot_index_param: boot_ident boot_ident { - IndexElem *n = makeNode(IndexElem); + IndexElem *n = makeNode(IndexElem); + n->name = $1; n->expr = NULL; n->indexcolname = NULL; |