git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bcdd405)
Add missing debug lines during bootstrap
Wed, 7 Mar 2018 14:47:35 +0000 (11:47 -0300)
Wed, 7 Mar 2018 14:47:35 +0000 (11:47 -0300)
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.


diff --git a/src/backend/bootstrap/bootparse.y b/src/backend/bootstrap/bootparse.y
index 9e81f9514db2f54b9759bef077b251262785d171..ed7a55596f8a689251acf1c0d807465f7873f6eb 100644 (file)
--- 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ドル);
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /