From 07ccbeb360fedd14464d1d3c0c819f7b702f018e Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 8 Oct 2004 15:03:26 +0000 Subject: Include schema name in pg_restore -l output, per request from Phil Endecott. --- src/bin/pg_dump/pg_backup_archiver.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/bin/pg_dump/pg_backup_archiver.c b/src/bin/pg_dump/pg_backup_archiver.c index 429d037129d..168b74a4f89 100644 --- a/src/bin/pg_dump/pg_backup_archiver.c +++ b/src/bin/pg_dump/pg_backup_archiver.c @@ -15,7 +15,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.97 2004/09/10 20:05:18 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.98 2004/10/08 15:03:26 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -699,9 +699,10 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt) while (te != AH->toc) { if (_tocEntryRequired(te, ropt, false) != 0) - ahprintf(AH, "%d; %u %u %s %s %s\n", te->dumpId, + ahprintf(AH, "%d; %u %u %s %s %s %s\n", te->dumpId, te->catalogId.tableoid, te->catalogId.oid, - te->desc, te->tag, te->owner); + te->desc, te->namespace ? te->namespace : "-", + te->tag, te->owner); te = te->next; } -- cgit v1.2.3