Re: Write in file from postgres

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Re: Write in file from postgres
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C201FA5F37@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответ на Write in file from postgres  ("Kevin Martins" <martins506@hotmail.com>)
Список pgsql-general
Kevin Martins wrote:
> Hello everybody,
> First off all I am new in postgres but allready got some questions. It's
> possible to wirte in a file from postgres?

First off, if you write to a mailing list you should first learn how to
write an e-mail. Really.

Core PostgreSQL does not have such a function; you'd have to write it
yourself in C.

There is, however, a function "pg_catalog.pg_file_write(text, text, bool)"
in the "adminpack" contrib module that you could (ab)use for your purposes.

This function may only be used by a superuser, and it would not be a good
idea to have it otherwise.

Yours,
Laurenz Albe

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

Предыдущее
От: "A. Kretschmer"
Дата:
Сообщение: Re: howto set a variable in transaction context
Следующее
От: Thomas Markus
Дата:
Сообщение: Re: howto set a variable in transaction context