Re: Read-only column
От
Doug McNaught
Тема
Re: Read-only column
Дата
Msg-id
87llphonpj.fsf@asmodeus.mcnaught.org
Ответ на
Read-only column (Claudio Succa)
Список
Дерево обсуждения
Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL Advocacy, Thoughts and Comments Randolf Richardson <rr@8x.ca>
Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL "Joshua D. Drake" <jd@commandprompt.com>
Re: Triggers, Stored Procedures, PHP. was: Re: PostgreSQL "scott.marlowe" <scott.marlowe@ihs.com>
Claudio Succa writes: > Given a table like the following: > > CREATE TABLE mytable ( > progr integer PRIMARY KEY, > record_creation_date date DEFAULT current_date, > ... > other columns > ... > ); > > is there a way to deny any modifications to 'record_creation_date' > without using a view? Sure, you can use a trigger. -Doug
В списке pgsql-general по дате отправления