Re: proposal: psql \setfileref

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal: psql \setfileref
Дата
Msg-id CAFj8pRDFyhx+HuecaBqnBsW9iZGyDodxUVw1A4RG0BdX79gRvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal: psql \setfileref  (Corey Huinker <corey.huinker@gmail.com>)
Список pgsql-hackers


2016-11-15 16:41 GMT+01:00 Corey Huinker <corey.huinker@gmail.com>:

On Sun, Nov 13, 2016 at 1:46 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
r - read file without any modification
rq - read file, escape as literal and use outer quotes
rb - read binary file - transform to hex code string
rbq - read binary file, transform to hex code string and use outer quotes

Usage:

I am not asking for this feature now, but do you see any barriers to later adding x/xq/xb/xbq equivalents for executing a shell command?

any other new commands can be appended simply - this is really generic

Regards

Pavel

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Parallel tuplesort (for parallel B-Tree index creation)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: postgres_fdw and defaults