Re: COPY FROM STDIN

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Luke Coldiron <lukecoldiron(at)hotmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY FROM STDIN
Date: 2016-01-07 04:24:00
Message-ID: 568DE860.4000600@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/6/16 9:45 PM, Luke Coldiron wrote:
> In the example above I'm not sure if I can use some sub struct of the
> SPIPlanPtr and hand it off to the DoCopy function as the CopyStmt or if I
> need to go about this entirely different. Any advice on the matter would be
> much appreciated.

I don't know off-hand. I suggest you look at what psql does to implement
\copy (note the \).
--
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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sachin Srivastava 2016-01-07 05:39:41 RAM of Postgres Server
Previous Message Jim Nasby 2016-01-07 04:21:38 Re: Trigger function interface