Re: pg_proc.prosrc -> can I see the function's source?

Поиск
Список
Период
Сортировка
Искать
От
Stephan Szabo
Тема
Re: pg_proc.prosrc -> can I see the function's source?
Дата
в 11:00:07
Msg-id
20030515075820.H60859-100000@megazone23.bigpanda.com
Ответ на
Список
Дерево обсуждения
pg_proc.prosrc -> can I see the function's source? Raphael Bauduin <raphael@be.easynet.net>
Re: pg_proc.prosrc -> can I see the function's source? Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: pg_proc.prosrc -> can I see the function's source? "Victor Yegorov" <viktors.jegorovs@nordlb.lv>

On Thu, 15 May 2003, Raphael Bauduin wrote:

> When I look at the entry of a pg_prc_row, I get the prosrc column. Does
> that represent the id of the source of this function? Can I retrieve it
> somewhere and take a look at it without pgdump -s (didn't try it yet,
> but read in the archives that this would be a solution)?

The below is a function in C, so you won't get it even with a pgdump -s
(it's one of the foreign key triggers defined in
src/backend/utils/adt/ri_triggers.c if I remember location correctly)

>        proname        |        prosrc
> ----------------------+----------------------
>  RI_FKey_noaction_del | RI_FKey_noaction_del

В списке pgsql-admin по дате отправления
От: Raquel Vieira
Дата:
От: tlr@kb.dk
Дата:
FAQ