Skip to content

Commit f9d34ce

Browse files
committed
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.
1 parent bcdd405 commit f9d34ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/backend/bootstrap/bootparse.y

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ Boot_DeclareIndexStmt:
292292
IndexStmt *stmt = makeNode(IndexStmt);
293293
Oid relationId;
294294

295+
elog(DEBUG4, "creating index \"%s\"", $3);
296+
295297
do_start();
296298

297299
stmt->idxname = $3;
@@ -338,6 +340,8 @@ Boot_DeclareUniqueIndexStmt:
338340
IndexStmt *stmt = makeNode(IndexStmt);
339341
Oid relationId;
340342

343+
elog(DEBUG4, "creating unique index \"%s\"", $4);
344+
341345
do_start();
342346

343347
stmt->idxname = $4;
@@ -381,6 +385,8 @@ Boot_DeclareUniqueIndexStmt:
381385
Boot_DeclareToastStmt:
382386
XDECLARE XTOAST oidspec oidspec ON boot_ident
383387
{
388+
elog(DEBUG4, "creating toast table for table \"%s\"", $6);
389+
384390
do_start();
385391

386392
BootstrapToastTable($6, $3, $4);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy