diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-03-07 11:47:35 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2018-03-07 11:47:35 -0300 |
commit | f9d34ce4e798ca768e28aea3703464db3179adcf (patch) | |
tree | 776a1943ef51df8dba25cac9db2a516a7d152bea | |
parent | bcdd40538a11a39fee55ef1c4b79085717a5fb76 (diff) | |
download | postgresql-f9d34ce4e798ca768e28aea3703464db3179adcf.tar.gz postgresql-f9d34ce4e798ca768e28aea3703464db3179adcf.zip |
Add missing debug lines during bootstrap
Noticed while playing with changes that mess with the bootstrap
sequence; the operations patched here failed to emit anything, leading
the developer to think that the bug was in the previous operation that
did emit a message.
-rw-r--r-- | src/backend/bootstrap/bootparse.y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y index 9e81f9514db..ed7a55596f8 100644 --- a/src/backend/bootstrap/bootparse.y +++ b/src/backend/bootstrap/bootparse.y @@ -292,6 +292,8 @@ Boot_DeclareIndexStmt: IndexStmt *stmt = makeNode(IndexStmt); Oid relationId; + elog(DEBUG4, "creating index \"%s\"", $3); + do_start(); stmt->idxname = $3; @@ -338,6 +340,8 @@ Boot_DeclareUniqueIndexStmt: IndexStmt *stmt = makeNode(IndexStmt); Oid relationId; + elog(DEBUG4, "creating unique index \"%s\"", $4); + do_start(); stmt->idxname = $4; @@ -381,6 +385,8 @@ Boot_DeclareUniqueIndexStmt: Boot_DeclareToastStmt: XDECLARE XTOAST oidspec oidspec ON boot_ident { + elog(DEBUG4, "creating toast table for table \"%s\"", $6); + do_start(); BootstrapToastTable($6, $3, $4); |