Re: Does pgAdmin have to double-quote table and - Mailing list pgadmin-support

From Dave Page
Subject Re: Does pgAdmin have to double-quote table and
Date
Msg-id 454CE5BF.7080000@postgresql.org
Whole thread Raw
In response to Does pgAdmin have to double-quote table and field names?  (novnov <novnovice@gmail.com>)
Responses Re: Does pgAdmin have to double-quote table and
Re: Does pgAdmin have to double-quote table and
List pgadmin-support
novnov wrote:
> As far as I can tell pgsql itself does not require table and field names to
> be wrapped in double quotes, but pgAdmin does that by default (at least on
> windows). 

PostgreSQL does require you to use double quotes in some circumstances 
(for example, if you use upper case letters). pgAdmin automatically 
quotes identifiers if you use a name that requires them.
> What's the rationale? I've not found a way to turn this off in
> pgAdmin, is there a way, is it safe to do this?

No, you cannot turn it off, and yes, it is safe as long as you remember 
to quote things appropriately outside of pgAdmin. See 
http://www.postgresql.org/docs/8.1/static/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS 
for more info.

> It's a very nice package, btw, thanks to all of the contributors.

You're welcome.

Regards, Dave


pgadmin-support by date:

Previous
From: novnov
Date:
Subject: Does pgAdmin have to double-quote table and field names?
Next
From: novnov
Date:
Subject: Re: Does pgAdmin have to double-quote table and