Re: create a text file from postgres (like Oracle UTL_FILE package)

Поиск
Список
Период
Сортировка
От Thomas F.O'Connell
Тема Re: create a text file from postgres (like Oracle UTL_FILE package)
Дата
Msg-id DA5290BE-2E99-11D9-9323-000D93AE0944@sitening.com
обсуждение исходный текст
Ответ на create a text file from postgres (like Oracle UTL_FILE package)  (Leo Martin Orfei <orfeileo@yahoo.com>)
Список pgsql-general
It seems like you would find it much easier to do this with a language
external to postgres (E.g., Perl) than relying on any of the built-in
languages and file I/O mechanisms.

Is there a reason you need postgres to handle this functionality?

-tfo

--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-260-0005

On Nov 4, 2004, at 9:03 AM, Leo Martin Orfei wrote:

> Hi,
>
> Anybody know/have functions or package to create text
> file from postgres function?
>
> I want to execute a function to take some fields from
> a table and save it in a text file (or xml format).
> I need function like:
> createfile(filename);
> appendtofile(filename,text);
> etc.
>
> thanks


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

Предыдущее
От: Kari Lavikka
Дата:
Сообщение: Re: Selecting a random row
Следующее
От: William Yu
Дата:
Сообщение: Re: PostgreSQL on Linux PC vs MacOS X