Mladen Gogala <mladen.gogala@xxxxxxxxxxx> writes: > Madhu Ramachandran wrote: >> i have a table with OID column.. I want to use the copy command to >> insert bunch of rows (1 million). >> but iam unable to specify the correct format for the oid type (i have >> .jpg files to be stored in this column).. > Huh? oid is a keyword, an automatically generated row id, and is > deprecated. You shouldn't be doing anything with it, much less copying it. I think what the OP actually means is he's thinking of importing some images as large objects, then storing their OIDs in a user (not system) column of type oid. COPY can't be used for that though. It might be better to use a bytea column, if you're willing to deal with bytea's weird escaping rules. regards, tom lane -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance