pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedError for insert large object
2+ messages / 2 participants
[nested] [flat]
* Error for insert large object
@ 2006-09-18 21:14 Lemaire Vincent <vincentlemaire@tele2.fr>
2006-09-18 23:54 ` Re: Error for insert large object Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 1 reply; 2+ messages in thread
From: Lemaire Vincent @ 2006-09-18 21:14 UTC (permalink / raw)
To: pgsql-odbc
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error for insert large object
2006-09-18 21:14 Error for insert large object Lemaire Vincent <vincentlemaire@tele2.fr>
@ 2006-09-18 23:54 ` Hiroshi Inoue <inoue@tpf.co.jp>
0 siblings, 0 replies; 2+ messages in thread
From: Hiroshi Inoue @ 2006-09-18 23:54 UTC (permalink / raw)
To: Lemaire Vincent <vincentlemaire@tele2.fr>; +Cc: pgsql-odbc
Lemaire Vincent wrote:
> 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
Please check the bytea as LO option.
regards,
Hiroshi Inoue
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-09-18 23:54 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-09-18 21:14 Error for insert large object Lemaire Vincent <vincentlemaire@tele2.fr>
2006-09-18 23:54 ` Hiroshi Inoue <inoue@tpf.co.jp>
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