Re: [HACKERS] update_pg_pwd

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] update_pg_pwd
Дата
Msg-id Pine.GSO.4.02A.9912131213110.8544-100000@Panter.DoCS.UU.SE
обсуждение исходный текст
Ответ на Re: [HACKERS] update_pg_pwd  (wieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] update_pg_pwd  (wieck@debis.com (Jan Wieck))
Список pgsql-hackers
On Mon, 13 Dec 1999, Jan Wieck wrote:

>     Trigger  functions  should  allways  return  at  least a NULL
>     pointer of type HeapTuple, not be declared void. From this  I
>     assume it's an AFTER ROW trigger,

Must be after row, because it has to wait until the change is actually
written to pg_shadow. Better would be an AFTER STATEMENT is assume.

>     There  are already some exceptions coded into the test. These
>     are PL handlers. Since their real return value is  HeapTuple,
>     you  would  have  to  make  this  defined  special  type  not
>     selectable in another way. So why do you want?

I'm not sure I'm following you, but why would a function that doesn't have
a useful return value return one?

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] update_pg_pwd
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] Datatype MONEY