Re: Let file_fdw access COPY FROM PROGRAM

From: Craig Ringer <craig(dot)ringer(at)2ndquadrant(dot)com>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
Subject: Re: Let file_fdw access COPY FROM PROGRAM
Date: 2016-09-08 22:59:32
Message-ID: CAMsr+YHaOK6E-ctg7mrsiT00xHKwvu3PHii9Uoz25Rdv45yiaQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 9 Sep. 2016 03:45, "Corey Huinker" <corey(dot)huinker(at)gmail(dot)com> wrote:
>
>

> Stylistically, would a separate .pl file for the emitter be preferable to
something inline like
>
>> perl -e 'print "a\tb\tcc\t4\n"; print "b\tc\tdd\t5\n"'

I'd be fine with that and a suitable comment. Just be careful with
different platforms' shell escaping rules.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2016-09-08 23:06:59 Re: Let file_fdw access COPY FROM PROGRAM
Previous Message Petr Jelinek 2016-09-08 22:59:26 Re: Logical Replication WIP