Re: Uppercase to lowercase trigger? - Mailing list pgsql-general

From björn lundin
Subject Re: Uppercase to lowercase trigger?
Date
Msg-id 4362040.4665.1337061887660.JavaMail.geo-discussion-forums@vbym15
Whole thread Raw
In response to Re: Uppercase to lowercase trigger?  (Chrishelring <christianhelring@gmail.com>)
Responses Re: Uppercase to lowercase trigger?
List pgsql-general
Hmm, I was under the impression that if you create the table with quoted field names, you get case-sensitive names,
But if you create the tables without quotes around the the field names, pg will make them lowercase,
But case-insensitive....

That way you don't need views or rewrite.

Do
create table foo( bar int);
Instead of
Create  table
"foo" ("bar" int);


/björn lundin

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Global Named Prepared Statements
Next
From: Sachin Srivastava
Date:
Subject: Re: Cannot find installers for 9.2 Beta