Re: proposal: psql \setfileref - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: proposal: psql \setfileref
Date
Msg-id CADkLM=c-Y+kG0_BP4edfyxwg4PHrTyf=EnRvXJ=MYixMbCFmXQ@mail.gmail.com
Whole thread Raw
In response to Re: proposal: psql \setfileref  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: psql \setfileref  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proposal: psql \setfileref  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers

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?


pgsql-hackers by date:

Previous
From: Albe Laurenz
Date:
Subject: Parallel execution and prepared statements
Next
From: Robert Haas
Date:
Subject: Re: Parallel tuplesort (for parallel B-Tree index creation)