Calling a Postgres utility in pgpsql function

Поиск
Список
Период
Сортировка
От Vish Phaneendra
Тема Calling a Postgres utility in pgpsql function
Дата
Msg-id B0DE296D-A29A-431E-9C14-8B4B84E45E00@greenplum.com
обсуждение исходный текст
Ответы Re: Calling a Postgres utility in pgpsql function
Список pgadmin-support
Hi,

Is it possible to call a postgres utility from pgpsql function? I'm trying to get the table definition using the pgpsql function.

CREATE FUNCTION table_definition(text) RETURNS text AS $$
pg_dump -st $1
$$ LANGUAGE plpgsql;

Rgds,
Vish

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

Предыдущее
От: sebba
Дата:
Сообщение: problemi nell'avvio del server
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Calling a Postgres utility in pgpsql function