Proposal: functions get_text() or get_url()

Поиск
Список
Период
Сортировка
От Stefan Keller
Тема Proposal: functions get_text() or get_url()
Дата
Msg-id 25bc040b0905181303q48a9da0cwaa24e82559f8f19d@mail.gmail.com
обсуждение исходный текст
Ответы Re: Proposal: functions get_text() or get_url()  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
How to insert a text file into a field in PostgreSQL?
I'd like to insert a row with fields from a local or remote text file.
I'd expect functions like get_text() or get_url() in order to do the following:
INSERT INTO collection(id, path, content) VALUES(1, '/tmp/mytext, get_text('/tmp/mytext));
AFAIK there was a get_url in libcurl but I neither find it any more. But anyway: This should be part of the core... :->
-S.
 

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: INTERVAL data type and libpq - what format?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Proposal: functions get_text() or get_url()