Is record handle available to a check constraint stored procedure call?

Поиск
Список
Период
Сортировка
От Gauthier, Dave
Тема Is record handle available to a check constraint stored procedure call?
Дата
Msg-id 0AD01C53605506449BA127FB8B99E5E10C358B82@FMSMSX105.amr.corp.intel.com
обсуждение исходный текст
Список pgsql-general

v8.3.4 on Linux

 

I have a check constraint on a column.  The constraint decides pass/fail based on the returned status of a stored procedure call that returns either "OK" or "NO".  So when the stored procedure is called, there's a living attempt to insert or update a record.

 

Question:  Is there a handle on the record being inserted or updated?  Something like what's available in a trigger function (new.col1, old.col2, etc...)?  If so, what does it look like?

 

Thanks in Advance  

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

Предыдущее
От: Maxim Boguk
Дата:
Сообщение: Question about warning: "invalid resource manager ID 128 at ..." on hot stanby
Следующее
От: leaf_yxj
Дата:
Сообщение: Re: postgresql 8.2 security definer is a built-in function. very confused??