Re: Query about SQL in PostgreSQL

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Query about SQL in PostgreSQL
Date: 2005-04-19 13:25:47
Message-ID: 20050419132547.GA21284@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, Apr 19, 2005 at 11:59:58AM +0200, KÖPFERL Robert wrote:
> Postgres has the weird behavour to compare identifies case sensitive BUT to
> downcast any non-quoted identifier inside an SQL statement.
> So it is reccomended to just use lower case (for readability)

Or never double-quote identifiers. I sort of don't believe exactly
the original poster's report, however, because the error message
wasn't right no matter what. I'd like to see a real session
transcript. Also, this probably belongs on -general.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
Information security isn't a technological problem. It's an economics
problem.
--Bruce Schneier

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Stephan Szabo 2005-04-19 13:59:01 Re: "Money" Data Type Problem
Previous Message Bruno Wolff III 2005-04-19 11:11:53 Re: can a function return a virtual table?