Re: defaults referencing other columns?

Поиск
Список
Период
Сортировка
От James Cloos
Тема Re: defaults referencing other columns?
Дата
Msg-id m3ac57nlxc.fsf@lugabout.jhcloos.org
обсуждение исходный текст
Ответ на Re: defaults referencing other columns?  ("Jasbinder Bali" <jsbali@gmail.com>)
Список pgsql-novice
>>>>> "Jasbinder" == Jasbinder Bali <jsbali@gmail.com> writes:

Jasbinder> There is something called Rule on a table.
Jasbinder> http://www.postgresql.org/docs/8.1/interactive/sql-createrule.html

It looks like I never replied to this. Apologies; I had meant to....

I had looked at rules -- in fact I'd read thru the whole pdf -- but
they didn't seem to fit.

It turned out that a before trigger did, however.  From my first read
thru that section of the docs, I wasn't certain that a before trigger
would Do What I Wanted, but further read-throughs made it clear.

I must've been fatigued when I first read it.

Thanks for the reply.

Oh, and incidently, I took the project in question live tonight, so
all of the help was productive.

-JimC
--
James Cloos <cloos@jhcloos.com>         OpenPGP: 0xED7DAEA6

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

Предыдущее
От: James Cloos
Дата:
Сообщение: Re: function parameters
Следующее
От: Chander Ganesan
Дата:
Сообщение: Re: admin technical training