public inbox for [email protected]  
help / color / mirror / Atom feed
From: Kevin Grittner <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: pg_dump -t broken for mixed case table names in
Date: Tue, 28 Nov 2006 13:49:31 -0600
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<[email protected]>
	<[email protected]>

Thanks much; it might have been a while before I tried that nested
quoting technique.  I think it's worth documenting.  Would you like me
to try to put a doc patch together, or would it be better for someone
else to do so?
 
-Kevin
 
 
>>> Tom Lane <[email protected]> 11/28/06 1:43 PM >>> 
"Kevin Grittner" <[email protected]> writes:
> Unless I'm missing something, pg_dump is not allowing selective dump
of
> a table where the table name is mixed case.

You do it like this:

	$ pg_dump - s - t '"DbTranLogRecord"' dtr

A bit ugly but the conflict between shell and SQL quoting rules
sometimes forces us into compromises :- (

Perhaps it's worth having an example for this in the pg_dump man page?

			regards, tom lane




view thread (5+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: pg_dump -t broken for mixed case table names in
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox