| От | Jackson, DeJuan |
|---|---|
| Тема | RE: [GENERAL] Triggers: options besides compiled code? |
| Дата | |
| Msg-id | F10BB1FAF801D111829B0060971D839F333165@cpsmail обсуждение |
| Список | pgsql-general |
Check out the contrib/refint.* in the distribution. I believe it
handles CASCADE DELETE.
-DEJ
> -----Original Message-----
> From: Roland Roberts [SMTP:roberts@panix.com]
> Sent: Sunday, July 12, 1998 3:00 PM
> To: pgsql-general@postgreSQL.org
> Subject: Re: [GENERAL] Triggers: options besides compiled code?
>
> >>>>> "dej" == Jackson, DeJuan <djackson@cpsgroup.com> writes:
>
> >> if you insert a new row, isn't the sequence automatically
> >> inserted?
> >>
> dej> It is if you use table defaults. (see 'create table', and
> dej> 'netval()')
>
> Thanks for the tip; Richard Lynch <lynch@lscorp.com> had sent me the
> same information via email. I was unaware of the "default" clause
> which certainly makes this piece easier.
>
> I guess I'm still stuck with writing C-code to get cascading deletes,
> but I can probably postpone that requirement for a while....
>
> Thanks,
>
> roland
> --
> Roland B. Roberts
> roberts@panix.com
>
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера