Re: Postgres - how to skip 'sequence' columns
| From: | Gary . | Date: | Tue, 13 Apr 2010 06:48:09 +0000 |
| Subject: | Re: Postgres - how to skip 'sequence' columns | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47049@lists.php.net to get a copy of this message | ||
On 4/13/10, Chris wrote:
> Gary . wrote:
>> Is it possible to skip column(s) in the target table when using
>> pg_copy_from?
...
> It seems not from looking at the php manual.
>
> You could use
> http://www.php.net/manual/en/function.pg-put-line.php instead.
Yeah. I was hoping to use pg_copy_from to avoid looping over the array
in php, but I can do that. Thanks.