pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <mladen.gogala@vmsinfo.com>
To: Madhu Ramachandran <iammadhu@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: copy command and blobs
Date: Thu, 20 Jan 2011 15:17:24 -0500
Message-ID: <4D389854.80603@vmsinfo.com> (raw)
In-Reply-To: <AANLkTimGC+t9aADYn2KAXgqTMHwEoBV=Ht3iMV3dnxtZ@mail.gmail.com>
References: <AANLkTimGC+t9aADYn2KAXgqTMHwEoBV=Ht3iMV3dnxtZ@mail.gmail.com>

Madhu Ramachandran wrote:
> hello,
>
> 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.


-- 
 
Mladen Gogala 
Sr. Oracle DBA
1500 Broadway
New York, NY 10036
(212) 329-5251
http://www.vmsinfo.com 
The Leader in Integrated Media Intelligence Solutions






view thread (6+ messages)  latest in thread

Message-ID: <4D389854.80603@vmsinfo.com>
Permalink:  ../4D389854.80603@vmsinfo.com/
Also on:    postgresql.org/message-id/4D389854.80603@vmsinfo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: mladen.gogala@vmsinfo.com, iammadhu@gmail.com
  Subject: Re: copy command and blobs
  In-Reply-To: <4D389854.80603@vmsinfo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox