pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
To: Pgsql-Odbc (E-mail) <pgsql-odbc@postgresql.org>
Subject: Re: Table and Column name folding question
Date: Tue, 18 Jan 2005 06:59:22 -0800 (PST)
Message-ID: <20050118145922.31067.qmail@web20823.mail.yahoo.com> (raw)
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC41001EB34@obelix.askesis.nl>

--- 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 
 




view thread (2+ messages)

Message-ID: <20050118145922.31067.qmail@web20823.mail.yahoo.com>
Permalink:  ../20050118145922.31067.qmail@web20823.mail.yahoo.com/
Also on:    postgresql.org/message-id/20050118145922.31067.qmail@web20823.mail.yahoo.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jeff_eckermann@yahoo.com, J.Kraaijeveld@Askesis.nl
  Subject: Re: Table and Column name folding question
  In-Reply-To: <20050118145922.31067.qmail@web20823.mail.yahoo.com>
  References: <A3D1526C98B7C1409A687E0943EAC41001EB34@obelix.askesis.nl> <20050118145922.31067.qmail@web20823.mail.yahoo.com>

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

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