mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	Include schema name in pg_restore -l output, per request from Phil Endecott.
This commit is contained in:
		
							parent
							
								
									9bf6effd8e
								
							
						
					
					
						commit
						07ccbeb360
					
				| @ -1,5 +1,5 @@ | |||||||
| <!-- | <!-- | ||||||
| $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.300 2004/10/04 22:49:47 tgl Exp $ | $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.301 2004/10/08 15:03:25 tgl Exp $ | ||||||
| --> | --> | ||||||
| 
 | 
 | ||||||
| <appendix id="release"> | <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 | |||||||
| 
 | 
 | ||||||
|     <listitem> |     <listitem> | ||||||
|      <para> |      <para> | ||||||
|       New start/stop of dump markers in pg_dump (Bruce) |       pg_restore -l display now includes objects' schema names | ||||||
|  |      </para> | ||||||
|  |     </listitem> | ||||||
|  | 
 | ||||||
|  |     <listitem> | ||||||
|  |      <para> | ||||||
|  |       New begin/end markers in pg_dump text output (Bruce) | ||||||
|      </para> |      </para> | ||||||
|     </listitem> |     </listitem> | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -15,7 +15,7 @@ | |||||||
|  * |  * | ||||||
|  * |  * | ||||||
|  * IDENTIFICATION |  * 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) | 	while (te != AH->toc) | ||||||
| 	{ | 	{ | ||||||
| 		if (_tocEntryRequired(te, ropt, false) != 0) | 		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->catalogId.tableoid, te->catalogId.oid, | ||||||
| 					 te->desc, te->tag, te->owner); | 					 te->desc, te->namespace ? te->namespace : "-", | ||||||
|  | 					 te->tag, te->owner); | ||||||
| 		te = te->next; | 		te = te->next; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user