Re: Command Triggers

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Command Triggers
Дата
Msg-id m2ipkeq7o5.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Command Triggers  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Command Triggers
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> But on the flip side, I think we're generally a bit more flexible
> about exposing things via C than through the procedural languages.

So we could still expose the parsetree of the current command.  I wonder
if it's already possible to get that from a C coded trigger, but I'll
admit I'm yet to code a trigger in C.  Will look into that.

Then as Andres proposed, a new function would be available to get the
value, we're not changing the trigger procedure function API in case the
language is C…

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


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