X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5FBB93A18AA for ; Tue, 18 Jan 2005 14:59:29 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 24974-06 for ; Tue, 18 Jan 2005 14:59:19 +0000 (GMT) Received: from web20823.mail.yahoo.com (web20823.mail.yahoo.com [216.136.227.136]) by svr1.postgresql.org (Postfix) with SMTP id 93AF63A1A42 for ; Tue, 18 Jan 2005 14:59:21 +0000 (GMT) Received: (qmail 31069 invoked by uid 60001); 18 Jan 2005 14:59:22 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=osQ0L70csGgol6CDMuxr6c45yQi1yENPI3CW1/9HrJr8+162QCtNLGgPSh+meRv7XOW+aM4c9P32qGRT/LGAgd9AvnNDph1fbXwYYviA0HWLz1/AijCZqNcnGicVbeM172njM8vSgF8HCszWNwxorRinw9M+puVjpYxdX6iLgSY= ; Message-ID: <20050118145922.31067.qmail@web20823.mail.yahoo.com> Received: from [24.248.12.141] by web20823.mail.yahoo.com via HTTP; Tue, 18 Jan 2005 06:59:22 PST Date: Tue, 18 Jan 2005 06:59:22 -0800 (PST) From: Jeff Eckermann Subject: Re: Table and Column name folding question To: Joost Kraaijeveld , "Pgsql-Odbc (E-mail)" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.466 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200501/42 X-Sequence-Number: 4837 --- Joost Kraaijeveld 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