Re: \g filename

Поиск
Список
Период
Сортировка
От Rob Sargent
Тема Re: \g filename
Дата
Msg-id 748c4316-b336-dac0-d18a-7274c613de6f@gmail.com
обсуждение исходный текст
Ответ на Re: \g filename  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 01/24/2018 01:38 PM, Adrian Klaver wrote:
> On 01/24/2018 12:30 PM, Rob Sargent wrote:
>> I just ran a query (select myfunction() \g bad/filename) which took 
>> almost an hour and a half then told me “no such file or directory” 
>> since I had scrogged the path. Could this path not be checked prior 
>> to actual execution of the query?
>
> Maybe?:
>
>
> test_(aklaver)> \o pg_test/some_file.txt
> pg_test/some_file.txt: No such file or directory

Ah yes, place the onus squarely on the user :)



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: \g filename
Следующее
От: Julio Cesar Tenganan Daza
Дата:
Сообщение: Using Token (JWT) authentication mechanism in Postgres