pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lemaire Vincent <vincentlemaire@tele2.fr>
To: pgsql-odbc@postgresql.org
Subject: Error for insert large object
Date: Mon, 18 Sep 2006 23:14:49 +0200
Message-ID: <auto-000113477518@mailfe09.swip.net> (raw)

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

 

view thread (2+ messages)  latest in thread

Message-ID: <auto-000113477518@mailfe09.swip.net>
Permalink:  ../auto-000113477518@mailfe09.swip.net/
Also on:    postgresql.org/message-id/auto-000113477518@mailfe09.swip.net

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: vincentlemaire@tele2.fr
  Subject: Re: Error for insert large object
  In-Reply-To: <auto-000113477518@mailfe09.swip.net>
  References: <auto-000113477518@mailfe09.swip.net>

* 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