pg.ddx.io pgsql-odbc@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Table and Column name folding question 2+ messages / 2 participants [nested] [flat]
* Table and Column name folding question @ 2005-01-18 09:19 Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> 0 siblings, 1 reply; 2+ messages in thread From: Joost Kraaijeveld @ 2005-01-18 09:19 UTC (permalink / raw) To: pgsql-odbc Hi, I have a Clarion generated application that uses both quoted and unquoted table and column names. It is not consistant in the use of quotes: the same table sometimes is used with and sometimes without quotes. When used with quotes, the name of the table/column is always uppercase. Without quotes it is in lowercase. The PostgreSQL docs say that unquoted names are folded to lower case. But does that also mean that quoted upper case table and column names cannot be used to access a table or column that is created without quotes (lower case)? Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 e-mail: J.Kraaijeveld@Askesis.nl web: www.askesis.nl ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Table and Column name folding question @ 2005-01-18 14:59 Jeff Eckermann <jeff_eckermann@yahoo.com> parent: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> 0 siblings, 0 replies; 2+ messages in thread From: Jeff Eckermann @ 2005-01-18 14:59 UTC (permalink / raw) To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>; pgsql-odbc --- Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> wrote: > Hi, > > I have a Clarion generated application that uses > both quoted and unquoted table and column names. It > is not consistant in the use of quotes: the same > table sometimes is used with and sometimes without > quotes. When used with quotes, the name of the > table/column is always uppercase. Without quotes it > is in lowercase. > > The PostgreSQL docs say that unquoted names are > folded to lower case. > > But does that also mean that quoted upper case table > and column names cannot be used to access a table or > column that is created without quotes (lower case)? Correct. PostgreSQL will look for an exact match, where quoted identifier (table, column etc.) names are used. There is a great deal of discussion of this question in the list archives (try the pgsql-general list). > > > > Groeten, > > Joost Kraaijeveld > Askesis B.V. > Molukkenstraat 14 > 6524NB Nijmegen > tel: 024-3888063 / 06-51855277 > fax: 024-3608416 > e-mail: J.Kraaijeveld@Askesis.nl > web: www.askesis.nl > > ---------------------------(end of > broadcast)--------------------------- > TIP 4: Don't 'kill -9' the postmaster > __________________________________ Do you Yahoo!? Meet the all-new My Yahoo! - Try it today! http://my.yahoo.com ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-01-18 14:59 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2005-01-18 09:19 Table and Column name folding question Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl> 2005-01-18 14:59 ` Jeff Eckermann <jeff_eckermann@yahoo.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