Unix Technical Forum

Re: bugs in Query tool... case sensitivity conflict with the rest of PgAdmin created object... explicit schema required

This is a discussion on Re: bugs in Query tool... case sensitivity conflict with the rest of PgAdmin created object... explicit schema required within the pgsql Interfaces Pgadmin Support forums, part of the PostgreSQL category; --> > -----Original Message----- > From: BillR [mailto:bill@williamrosmus.com] > Sent: 29 November 2005 20:50 > To: Dave Page > Subject: ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 08:16 PM
Dave Page
 
Posts: n/a
Default Re: bugs in Query tool... case sensitivity conflict with the rest of PgAdmin created object... explicit schema required



> -----Original Message-----
> From: BillR [mailto:bill@williamrosmus.com]
> Sent: 29 November 2005 20:50
> To: Dave Page
> Subject: Re: [pgadmin-support] bugs in Query tool... case
> sensitivity conflict with the rest of PgAdmin created
> object... explicit schema required
>
> Hi Dave,
> from my scenario, what I saw is that the Query tool is
> changing names
> to lower case. For example, in the DDL I typed in the Query tool:
> create table WorkSchema.PERSON ... not all lower case.


No, PostgreSQL folds all unquoted identifiers to lower case, not
pgAdmin. The query you enter in pgAdmin (which would need to be CREATE
TABLE "WorkSchema"."PERSON"...) is exactly what you would need to enter
in psql or any other application you might use.

The dialogues shield you from all the SQL so you don't need to know
about the quoting. If you're writing raw SQL queries though, it is
expected that you know the syntax and semantics offered by the server.

See
http://www.postgresql.org/docs/8.1/s...SQL-SYNTAX-IDE
NTIFIERS for details.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:11 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com