Re: proposal: psql \setfileref

Поиск
Список
Период
Сортировка
От Gilles Darold
Тема Re: proposal: psql \setfileref
Дата
Msg-id d3617862-f7cf-c564-9faa-b458552b5500@dalibo.com
обсуждение исходный текст
Ответ на Re: proposal: psql \setfileref  ("Daniel Verite" <daniel@manitou-mail.org>)
Ответы Re: proposal: psql \setfileref  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Le 10/10/2016 à 14:38, Daniel Verite a écrit :
>     Gilles Darold wrote:
>
>>    postgres=# \setfileref b /dev/random
>>    postgres=# insert into test (:b);
>>
>> Process need to be killed using SIGTERM.
> This can be fixed by setting sigint_interrupt_enabled to true
> before operating on the file. Then ctrl-C would be able to cancel
> the command.

If we do not prevent the user to be able to load special files that
would be useful yes.

-- 
Gilles Darold
Consultant PostgreSQL
http://dalibo.com - http://dalibo.org




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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: vacuumdb -f and -j options (was Question / requests.)
Следующее
От: Artur Zakirov
Дата:
Сообщение: FTS Configuration option