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

From Craig Ringer
Subject Re: Let file_fdw access COPY FROM PROGRAM
Date
Msg-id CAMsr+YEre4-Mzvcd9tt3ChbNPbfxr2gC1Mta=na-StFoJ-4SRg@mail.gmail.com
Whole thread Raw
In response to Re: Let file_fdw access COPY FROM PROGRAM  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: Let file_fdw access COPY FROM PROGRAM  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
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.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Remote DBA, Training
&Services
 



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: [sqlsmith] Failed assertion in joinrels.c
Next
From: Corey Huinker
Date:
Subject: Re: Let file_fdw access COPY FROM PROGRAM