Re: How to get text for a plpgsql variable from a file.

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: How to get text for a plpgsql variable from a file.
Дата
Msg-id 162867790912162148w39dbfc25g88f3efa17023a4ed@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to get text for a plpgsql variable from a file.  (Erwin Brandstetter <brsaweda@gmail.com>)
Список pgsql-general
2009/12/17 Erwin Brandstetter <brsaweda@gmail.com>:
> On Dec 16, 10:47 pm, pavel.steh...@gmail.com (Pavel Stehule) wrote:
>> hello
>>
>> look on orafce from pgfoundry. There modul utl_file
>>
>> http://www.postgres.cz/index.php/Oracle_functionality_%28en%29#UTL_FILE
>
>
> Thanks Pavel, that should do the trick.
>
> I assume then, there is no easier built-in way in standard postgres?
>

PostgreSQL 8.3 and higher can read file from pg data directory.  That is all

Regards
Pavel

>
> Regrads
> Erwin
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Automatic truncation of character values & casting to the type of a column type
Следующее
От: Sam Jas
Дата:
Сообщение: Fw: password authentication failed