Auto-uppercase inserted column

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Auto-uppercase inserted column
Дата
Msg-id 200005191717.NAA07779@candle.pha.pa.us
обсуждение исходный текст
Список pgsql-general
Is there a way to automatically uppercase a column upon insert or
update?

I don't think rules can do that because of the problem of recursion.
The only way I think it can be done is using triggers.  Is that correct?

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-general по дате отправления:

Предыдущее
От: "Richard J. Kuhns"
Дата:
Сообщение: [HACKERS] Re: Question about databases in alternate locations...
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: simple C function