index 6a2531010b89cad6475412df2fc30bf4034de2cd..b032e6c170727f9563b7520a766ca3f4c0e9c5d3 100644 (file)
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.93 1998年10月26日 01:05:07 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.93.2.1 1998年11月06日 15:56:42 thomas Exp $
*
* Modifications - 6/10/96 - dave@bensoft.com - version 1.13.dhb
*
"\t -h hostname \t\t server host name\n");
fprintf(stderr,
"\t -n \t\t suppress most quotes around identifiers\n");
+ fprintf(stderr,
+ "\t -N \t\t enable most quotes around identifiers\n");
fprintf(stderr,
"\t -o \t\t dump object id's (oids)\n");
fprintf(stderr,
progname = *argv;
- while ((c = getopt(argc, argv, "adDf:h:nop:st:vzu")) != EOF)
+ while ((c = getopt(argc, argv, "adDf:h:nNop:st:vzu")) != EOF)
{
switch (c)
{
case 'n': /* Do not force double-quotes on identifiers */
g_force_quotes = false;
break;
+ case 'N': /* Force double-quotes on identifiers */
+ g_force_quotes = true;
+ break;
case 'o': /* Dump oids */
oids = 1;
break;
ACLlist = ParseACL(tbinfo.relacl, &l);
if (ACLlist == (ACL *) NULL)
+ {
if (l == 0)
+ {
return;
+ }
else
{
fprintf(stderr, "Could not parse ACL list for '%s'...Exiting!\n",
tbinfo.relname);
exit_nicely(g_conn);
}
+ }
/* Revoke Default permissions for PUBLIC */
fprintf(fout,