Re: Let file_fdw access COPY FROM PROGRAM - Mailing list pgsql-hackers

From Corey Huinker
Subject Re: Let file_fdw access COPY FROM PROGRAM
Date
Msg-id CADkLM=fJMe+fAdShu8sbqnbQU0mn1fW9-O=O3BT+DOCfPxZ=6A@mail.gmail.com
Whole thread Raw
In response to Re: Let file_fdw access COPY FROM PROGRAM  (Craig Ringer <craig.ringer@2ndquadrant.com>)
Responses Re: Let file_fdw access COPY FROM PROGRAM  (Craig Ringer <craig.ringer@2ndquadrant.com>)
List pgsql-hackers
On Tue, Sep 6, 2016 at 11:24 PM, Craig Ringer <craig.ringer@2ndquadrant.com> wrote:
On 7 September 2016 at 11:21, Corey Huinker <corey.huinker@gmail.com> wrote:
> On Tue, Sep 6, 2016 at 6:53 PM, Craig Ringer <craig.ringer@2ndquadrant.com>

> And the TAP test would detect the operating system and know to create an FDW
> that has the PROGRAM value 'cat test_data.csv' on Unix, 'type test_data.csv'
> on windows, and 'type test_data.csv;1' on VMS?

Right. Or just "perl emit_test_data.pl" that works for all of them,
since TAP is perl so you can safely assume you have Perl.

Thanks. I was mentally locked in more basic OS commands. Am I right in thinking perl is about the *only* OS command you can be sure is on every architecture? 

The platforms page says we support S/390 but no mention of VM/MVS/CMS. Did we do an OS/400 port yet? ::ducks::

pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Let file_fdw access COPY FROM PROGRAM
Next
From: Craig Ringer
Date:
Subject: Re: Let file_fdw access COPY FROM PROGRAM