X-Original-To: pgsql-odbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id F02E29FB27E for ; Mon, 18 Sep 2006 18:15:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 86704-02 for ; Mon, 18 Sep 2006 18:14:54 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from swip.net (mailfe09.tele2.fr [212.247.155.12]) by postgresql.org (Postfix) with ESMTP id 36FBC9FB277 for ; Mon, 18 Sep 2006 18:14:52 -0300 (ADT) X-T2-Posting-ID: mT7TmsAdQgTqzruetzX3AYxyVOALBZkkiKqlqjRHGww= X-Cloudmark-Score: 0.000000 [] Received: from [213.103.25.36] (HELO portablevl) by mailfe09.swip.net (CommuniGate Pro SMTP 5.0.8) with ESMTP id 113477518 for pgsql-odbc@postgresql.org; Mon, 18 Sep 2006 23:14:50 +0200 From: "Lemaire Vincent" To: Subject: Error for insert large object Date: Mon, 18 Sep 2006 23:14:49 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001A_01C6DB78.3D8D59B0" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: AcbbZ3l3nfSjqQcRRoW+MY0kxbWguQ== Message-ID: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.339 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200609/72 X-Sequence-Number: 8223 This is a multi-part message in MIME format. ------=_NextPart_000_001A_01C6DB78.3D8D59B0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello all world, I work on a project c# with a postgresql database. The communication is made by the odbc driver. The select command is OK but I have a problem for insert an Image in my table. The script of creation of my table is as follows: CREATE TABLE images ( id_image int4 NOT NULL, image bytea, CONSTRAINT id_image PRIMARY KEY (id_image) ) WITH OIDS; ALTER TABLE images OWNER TO postgres; When I want insert data, I have an error how is generate by de odbc driver. This error is "type "lo" does not exist > How create a large object with odbc driver in C# ? Can you help me please? It's very important for my project actually. Sorry, I'm French and my English is not perfectly, I hope that you think. Vincent Lemaire ------=_NextPart_000_001A_01C6DB78.3D8D59B0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello all world,

 

I work on a project c# with a postgresql = database. The communication is made by the odbc driver. The select command is OK but I = have a problem for insert an Image in my table.


The script of creation of my table is as = follows:

 

CREATE = TABLE images

(

  = id_image int4 NOT NULL,

  = image bytea,

  = CONSTRAINT id_image PRIMARY KEY (id_image)

) =

WITH = OIDS;

ALTER = TABLE images OWNER TO postgres;

 

When I want insert data, I have an error how = is generate by de odbc driver. This error is “type = "lo" does not exist »

 

How create a large object with odbc driver in = C# ?

 

Can you help me please? It’s very = important for my project actually.

 

Sorry, I’m French and my English is not perfectly, I hope that you think.

 

Vincent Lemaire

 

------=_NextPart_000_001A_01C6DB78.3D8D59B0--