Re: Read only column ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Read only column ?
Дата
Msg-id 11088.1263694347@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Read only column ?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Ответы Re: Read only column ?  (John R Pierce <pierce@hogranch.com>)
Re: Read only column ?  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Список pgsql-general
"Gauthier, Dave" <dave.gauthier@intel.com> writes:
>> .. although, if you have triggers forcibly setting the columns, it
>> hardly matters what the users try to put into them, no?

> Ummmm..... Wellll....  I guess you have a point there :-)

> Still, it would be nicer for the DB to tell them "DON'T TOUCH THAT" as opposed to a trigger silently overriding
whateverthey may have thought they changed. 

Well, you could have the triggers throw errors instead of being silent
about it.

            regards, tom lane

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

Предыдущее
От: "Gauthier, Dave"
Дата:
Сообщение: Re: Read only column ?
Следующее
От: John R Pierce
Дата:
Сообщение: Re: Read only column ?