Re: [PHP-DB] Postgres - how to skip 'sequence' columns

2010-04-12 Thread Gary .
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

Re: [PHP-DB] Postgres - how to skip 'sequence' columns

2010-04-12 Thread Chris
Gary . wrote: Is it possible to skip column(s) in the target table when using pg_copy_from? When I tried to bulk insert some data from a csv file by way of pg_copy_from I received the error "Warning: pg_copy_from() [function.pg-copy-from]: Copy command failed: ERROR: permission denied for relatio