Re: [HACKERS] COPY as a set returning function - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] COPY as a set returning function
Date
Msg-id 6138da86-9afe-9a7f-acf6-ad215f287425@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] COPY as a set returning function  (Corey Huinker <corey.huinker@gmail.com>)
Responses Re: [HACKERS] COPY as a set returning function  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
On 1/25/17 8:51 PM, Corey Huinker wrote:
> # select * from copy_srf('echo "x\ty"',true) as t(x text, y text);

I find these parameters weird.  Just looking at this, one has no idea
what the "true" means.  Why not have a "filename" and a "program"
parameter and make them mutually exclusive?

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



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [HACKERS] GSoC 2017
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] COPY as a set returning function