Re: Uppercase to lowercase trigger?

Поиск
Список
Период
Сортировка
От Darren Duncan
Тема Re: Uppercase to lowercase trigger?
Дата
Msg-id 4FA2BE97.9090109@darrenduncan.net
обсуждение исходный текст
Ответ на Re: Uppercase to lowercase trigger?  (Chrishelring <christianhelring@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: pqlib garbage collection
Следующее
От: "Gauthier, Dave"
Дата:
Сообщение: privs drop after alter table