From przemyslaw.slupkowski@euro.coig.pl Wed Mar 17 12:25:33 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4A36BD1E94E for ; Wed, 17 Mar 2004 12:25:33 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 86144-03 for ; Wed, 17 Mar 2004 08:25:34 -0400 (AST) Received: from coig.katowice.pl (pluton.coig.katowice.pl [195.39.216.12]) by svr1.postgresql.org (Postfix) with ESMTP id 53776D1E926 for ; Wed, 17 Mar 2004 08:25:28 -0400 (AST) Received: from [195.39.216.20] (HELO pslupkowski) by coig.katowice.pl (CommuniGate Pro SMTP 4.1.8) with SMTP id 828223 for pgsql-odbc@postgresql.org; Wed, 17 Mar 2004 13:25:28 +0100 Message-ID: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com> From: =?iso-8859-2?Q?Przemys=B3aw_S=B3upkowski?= To: "odbc postgres" Subject: Case sensitive Date: Wed, 17 Mar 2004 13:26:47 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BA_01C40C23.7FA03150" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.2 tagged_above=0.0 required=5.0 tests=BAYES_44, HTML_50_60, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200403/62 X-Sequence-Number: 3864 This is a multi-part message in MIME format. ------=_NextPart_000_00BA_01C40C23.7FA03150 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi I have a question about creating psql scripts. Is a posible to use upper in= names of functions ------=_NextPart_000_00BA_01C40C23.7FA03150 Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable
Hi
I have a question about creating psql sc= ripts. Is=20 a posible to use upper in names of functions
------=_NextPart_000_00BA_01C40C23.7FA03150-- From psql@shemesh.biz Wed Mar 17 13:27:04 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 62440D1E961 for ; Wed, 17 Mar 2004 13:27:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01922-07 for ; Wed, 17 Mar 2004 09:27:05 -0400 (AST) Received: from smtp2.actcom.co.il (mail.actcom.co.il [192.114.47.15]) by svr1.postgresql.org (Postfix) with ESMTP id CD207D1E960 for ; Wed, 17 Mar 2004 09:27:01 -0400 (AST) Received: from shemesh.biz (line102-130.adsl.actcom.co.il [192.117.102.130]) by smtp2.actcom.co.il (8.12.8/8.12.8) with ESMTP id i2HDQuxQ017654; Wed, 17 Mar 2004 15:26:58 +0200 Message-ID: <40585220.8000909@shemesh.biz> Date: Wed, 17 Mar 2004 15:26:56 +0200 From: Shachar Shemesh Organization: Lingnu Open Systems Consulting User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3 X-Accept-Language: en, he MIME-Version: 1.0 To: =?ISO-8859-2?Q?Przemys=B3aw_S=B3upkowski?= Cc: odbc postgres Subject: Re: Case sensitive References: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com> In-Reply-To: <00bd01c40c1b$1de53f30$630f10ac@win.coig.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/63 X-Sequence-Number: 3865 Przemysław Słupkowski wrote: > Hi > I have a question about creating psql scripts. Is a posible to use > upper in names of functions The SQL standard dictates that unquoted identifiers have their case folded to upper case. Postgresql ignores this altogether under the claim that "uppercase is ugly". PostgreSQL folds unquoted identifiers to lowercase. If you are not converting from a different database, this should not matter to you. In order to call upper case functions, or upper case tables for that matter, you have to quote them. Thus, instead of saying Select * from TABLE You need to do select * from "TABLE" This will allow you to call uppercase identifiers. -- Shachar Shemesh Lingnu Open Systems Consulting http://www.lingnu.com/