Re: proposal: psql \setfileref

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: proposal: psql \setfileref
Дата
Msg-id fbfa7edc-3791-36f2-fca2-5733617e459f@BlueTreble.com
обсуждение исходный текст
Ответ на Re: proposal: psql \setfileref  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: proposal: psql \setfileref  (Corey Huinker <corey.huinker@gmail.com>)
Re: proposal: psql \setfileref  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On 10/9/16 9:54 PM, Bruce Momjian wrote:
>> I understand, but I am not sure how difficult implementation it is. This part
>> > (COPY input) doesn't support parametrization - and parametrization can have a
>> > negative performance impact.
> And it would need to be \:file_ref in COPY so real data doesn't trigger
> it.

ISTM it'd be much saner to just restrict file ref's to only working with 
psql's \COPY, and not server-side COPY.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)   mobile: 512-569-9461



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

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Fast AT ADD COLUMN with DEFAULTs
Следующее
От: Corey Huinker
Дата:
Сообщение: Re: Fast AT ADD COLUMN with DEFAULTs