|
15 | 15 | *
|
16 | 16 | *
|
17 | 17 | * IDENTIFICATION
|
18 |
| - *$PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.157 2008/05/04 08:32:21 adunstan Exp $ |
| 18 | + *$PostgreSQL: pgsql/src/bin/pg_dump/pg_backup_archiver.c,v 1.158 2008/09/05 23:53:42 momjian Exp $ |
19 | 19 | *
|
20 | 20 | *-------------------------------------------------------------------------
|
21 | 21 | */
|
@@ -2542,6 +2542,7 @@ _printTocEntry(ArchiveHandle *AH, TocEntry *te, RestoreOptions *ropt, bool isDat
|
2542 | 2542 | if (strcmp(te->desc,"SCHEMA")==0&&
|
2543 | 2543 | strcmp(te->tag,"public")==0)
|
2544 | 2544 | return;
|
| 2545 | +/* The comment restore would require super-user privs, so avoid it. */ |
2545 | 2546 | if (strcmp(te->desc,"COMMENT")==0&&
|
2546 | 2547 | strcmp(te->tag,"SCHEMA public")==0)
|
2547 | 2548 | return;
|
|