Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 07ccbeb

Browse files
committed
Include schema name in pg_restore -l output, per request from Phil Endecott.
1 parent 9bf6eff commit 07ccbeb

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

doc/src/sgml/release.sgml

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.300 2004/10/04 22:49:47 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.301 2004/10/08 15:03:25 tgl Exp $
33
-->
44

55
<appendix id="release">
@@ -1723,7 +1723,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.300 2004/10/04 22:49:47 tgl Exp
17231723

17241724
<listitem>
17251725
<para>
1726-
New start/stop of dump markers in pg_dump (Bruce)
1726+
pg_restore -l display now includes objects' schema names
1727+
</para>
1728+
</listitem>
1729+
1730+
<listitem>
1731+
<para>
1732+
New begin/end markers in pg_dump text output (Bruce)
17271733
</para>
17281734
</listitem>
17291735

src/bin/pg_dump/pg_backup_archiver.c

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.97 2004/09/10 20:05:18 tgl Exp $
18+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.98 2004/10/08 15:03:26 tgl Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -699,9 +699,10 @@ PrintTOCSummary(Archive *AHX, RestoreOptions *ropt)
699699
while (te != AH->toc)
700700
{
701701
if (_tocEntryRequired(te, ropt, false) != 0)
702-
ahprintf(AH, "%d; %u %u %s %s %s\n", te->dumpId,
702+
ahprintf(AH, "%d; %u %u %s %s %s %s\n", te->dumpId,
703703
te->catalogId.tableoid, te->catalogId.oid,
704-
te->desc, te->tag, te->owner);
704+
te->desc, te->namespace ? te->namespace : "-",
705+
te->tag, te->owner);
705706
te = te->next;
706707
}
707708

0 commit comments

Comments
 (0)