Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 2060B1337B64 for ; Thu, 20 Jan 2011 16:17:34 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 14443-04 for ; Thu, 20 Jan 2011 20:17:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lpo-relay-04.vmsinfo.com (lpo-relay-04.vmsinfo.com [216.169.137.115]) by mail.postgresql.org (Postfix) with ESMTP id 7ACBA1337B51 for ; Thu, 20 Jan 2011 16:17:26 -0400 (AST) X-IronPort-AV: E=Sophos;i="4.60,352,1291611600"; d="scan'208";a="28145182" Received: from unknown (HELO lpo-mailbox-02.vmsinfo.com) ([216.169.137.251]) by lpo-relay-04.vmsinfo.com with ESMTP; 20 Jan 2011 15:17:25 -0500 Received: from [10.101.43.35] (lpo-autonomy-p03.vmsinfo.com [216.169.135.234]) by lpo-mailbox-02.vmsinfo.com (Postfix) with ESMTP id 36C8256272; Thu, 20 Jan 2011 15:17:25 -0500 (EST) Message-ID: <4D389854.80603@vmsinfo.com> Date: Thu, 20 Jan 2011 15:17:24 -0500 From: Mladen Gogala Organization: VMS User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Madhu Ramachandran CC: "pgsql-performance@postgresql.org" Subject: Re: copy command and blobs References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/191 X-Sequence-Number: 41978 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