Re: know the schema name in a trigger

Поиск
Список
Период
Сортировка
От Tomasz Myrta
Тема Re: know the schema name in a trigger
Дата
Msg-id fmb2pe$23td$1@news.hub.org
обсуждение исходный текст
Список pgsql-general
danilo.juvinao napisal 2008-01-12 01:18:
> Hello,
>
> i want know how can i get the schema name that execute a trigger.
>
> for example, if a have a schema "myschema" and a table "mytable" and
> it have a trigger procedure, i want know inside the trigger procedure,
> with plpgsql, the shcema name "myschema"..

Did you try function current_schema() ?

--
Regards,
Tomasz Myrta

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Postgresql 8.2.4 on linux-sparc problem
Следующее
От: "Marko Kreen"
Дата:
Сообщение: Re: How to safely compare transaction id?