Re: Finding number of rows deleted in a stored procedure

Поиск
Список
Период
Сортировка
От Ross Bagley
Тема Re: Finding number of rows deleted in a stored procedure
Дата
Msg-id 42c4217a0710021432i791a1de3w95bdcb40b104594a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Finding number of rows deleted in a stored procedure  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
In this simplified case, given an open SQL connection, you're correct.
 That would simplify this query, and I'm a little embarrassed not to
have seen that (obexcuse: I've been spending too much time in
Java-land lately).  There is more to the function than I included in
my question, so it does need to be a function and can't be straight
SQL.

Thanks,
Ross

On 10/2/07, Joshua D. Drake <jd@commandprompt.com> wrote:
> Maybe I am missing something, but wouldn't ON DELETE CASCADE do what you
> need?

--
Ross Bagley
"Security is mostly a superstition.  It does not exist in nature...
Life is either a daring adventure or nothing."  -- Helen Keller

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

Предыдущее
От: "Ross Bagley"
Дата:
Сообщение: Re: Finding number of rows deleted in a stored procedure
Следующее
От: Bob Pawley
Дата:
Сообщение: pg_dump