pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedPG_Dump Mixed case table names
2+ messages / 2 participants
[nested] [flat]
* PG_Dump Mixed case table names
@ 2015-10-09 16:56 Doug Kneupper <kneupper@hal-pc.org>
0 siblings, 1 reply; 2+ messages in thread
From: Doug Kneupper @ 2015-10-09 16:56 UTC (permalink / raw)
To: pgsql-bugs
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="System">I have looked on the internet for a solution to
this. I have found a few.<br>
None of them worked.<br>
I'm using Windows7 and any combination of quotes (both single and
double)<br>
do not work. I have also tried with the slash, that does not work
either.<br>
I'm using 1.20 from the Pgadmin III download.<br>
<br>
<br>
Doug Kneupper<br>
</font>
</body>
</html>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: PG_Dump Mixed case table names
@ 2015-10-09 17:22 David G. Johnston <david.g.johnston@gmail.com>
parent: Doug Kneupper <kneupper@hal-pc.org>
0 siblings, 0 replies; 2+ messages in thread
From: David G. Johnston @ 2015-10-09 17:22 UTC (permalink / raw)
To: Doug Kneupper <kneupper@hal-pc.org>; +Cc: pgsql-bugs
On Fri, Oct 9, 2015 at 12:56 PM, Doug Kneupper <kneupper@hal-pc.org> wrote:
> I have looked on the internet for a solution to this. I have found a few.
> None of them worked.
> I'm using Windows7 and any combination of quotes (both single and double)
> do not work. I have also tried with the slash, that does not work either.
> I'm using 1.20 from the Pgadmin III download.
>
You need to provide more detail - specifically, what it is you are doing.
Names, when quoted, always use double-quotes. For simple names the quotes
are optional but if omitted then the provided value is case-folded to lower
case. Thus: ColumnName => columnname.
In order to use special characters (spaces, symbols, leading digit) you
must use double-quotes.
When using double-quotes the case of the supplied value is preserved.
"ColumnName" => "ColumnName"
The quotes are not part of the identifier but are only used during
parsing. Thus:
ColumnName and "columnname" represent the same name.
David J.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2015-10-09 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-10-09 16:56 PG_Dump Mixed case table names Doug Kneupper <kneupper@hal-pc.org>
2015-10-09 17:22 ` David G. Johnston <david.g.johnston@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox