mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03:00
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.
This commit is contained in:
@ -292,6 +292,8 @@ Boot_DeclareIndexStmt:
|
|||||||
IndexStmt *stmt = makeNode(IndexStmt);
|
IndexStmt *stmt = makeNode(IndexStmt);
|
||||||
Oid relationId;
|
Oid relationId;
|
||||||
|
|
||||||
|
elog(DEBUG4, "creating index \"%s\"", $3);
|
||||||
|
|
||||||
do_start();
|
do_start();
|
||||||
|
|
||||||
stmt->idxname = $3;
|
stmt->idxname = $3;
|
||||||
@ -338,6 +340,8 @@ Boot_DeclareUniqueIndexStmt:
|
|||||||
IndexStmt *stmt = makeNode(IndexStmt);
|
IndexStmt *stmt = makeNode(IndexStmt);
|
||||||
Oid relationId;
|
Oid relationId;
|
||||||
|
|
||||||
|
elog(DEBUG4, "creating unique index \"%s\"", $4);
|
||||||
|
|
||||||
do_start();
|
do_start();
|
||||||
|
|
||||||
stmt->idxname = $4;
|
stmt->idxname = $4;
|
||||||
@ -381,6 +385,8 @@ Boot_DeclareUniqueIndexStmt:
|
|||||||
Boot_DeclareToastStmt:
|
Boot_DeclareToastStmt:
|
||||||
XDECLARE XTOAST oidspec oidspec ON boot_ident
|
XDECLARE XTOAST oidspec oidspec ON boot_ident
|
||||||
{
|
{
|
||||||
|
elog(DEBUG4, "creating toast table for table \"%s\"", $6);
|
||||||
|
|
||||||
do_start();
|
do_start();
|
||||||
|
|
||||||
BootstrapToastTable($6, $3, $4);
|
BootstrapToastTable($6, $3, $4);
|
||||||
|
Reference in New Issue
Block a user