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

From Darren Duncan
Subject Re: Uppercase to lowercase trigger?
Date
Msg-id 4FA2BE97.9090109@darrenduncan.net
Whole thread Raw
In response to Re: Uppercase to lowercase trigger?  (Chrishelring <christianhelring@gmail.com>)
List pgsql-general
Chrishelring wrote:
> Hmm.. Haden´t thought about making a view. It should work because the
> application that uses the data is read-only (yet!).
>
> I´ll give that a try. Thanks!

Well a view is a much more natural solution than the other proposal, about
constantly doing data definition / changing the schemas for each access like
this proposal.  In fact, what you talk about sounds like an ideal case for
views; you could have 2 complete schemas, one per application, where each
corresponds to the other but one is lowercase and one is uppercase, and one is a
view. -- Darren Duncan

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: pqlib garbage collection
Next
From: "Gauthier, Dave"
Date:
Subject: privs drop after alter table