Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW)
От
Andrew Dunstan
Тема
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW)
Дата
Msg-id
9b767472-7ef5-64ac-a573-4252a9a6ddc3@dunslane.net
Ответ на
Список
Дерево обсуждения
[HACKERS] proposal: psql statements \gstore \gstore_binary (instead COPY RAW) Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary (instead COPY RAW) Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary (instead COPY RAW) Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW) Jim Nasby <Jim.Nasby@BlueTreble.com>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW) Andrew Dunstan <andrew@dunslane.net>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW) Pavel Stehule <pavel.stehule@gmail.com>
Re: [HACKERS] proposal: psql statements \gstore \gstore_binary(instead COPY RAW) Pavel Stehule <pavel.stehule@gmail.com>
On 12/09/2016 08:27 PM, Jim Nasby wrote: > On 12/9/16 9:39 AM, Pavel Stehule wrote: >> >> SELECT image FROM accounts WHERE id = xxx >> \gstore_binary ~/image.png >> >> What do you think about this proposal? > > Seems reasonable. > > I've lost track at this point... is there a way to go the other > direction with that as well? Namely, stick the contents of a file into > a field via an INSERT or UPDATE? > > I've done that in the past via psql -v var=`cat file`, but there's > obviously some significant drawbacks to that... It all looks eerily familiar ... cheers andrew
В списке pgsql-hackers по дате отправления
От: Jim Nasby
Дата:
От: Robert Haas
Дата: