Re: Large objects - SOS - Mailing list pgsql-admin

From Daniel Schuchardt
Subject Re: Large objects - SOS
Date
Msg-id b1s9bv$1jce$1@news.hub.org
Whole thread Raw
In response to Large objects - SOS  (mjoseph@inautix.com)
List pgsql-admin
Hi, in 7.3 this changed.

type :

CREATE DOMAIN lo AS oid;

And everything works well.

Daniel



<mjoseph@inautix.com> schrieb im Newsbeitrag
news:OF0B8A93EA.20F6C498-ON65256CC3.0043C73A@LocalDomain...
> Hi,
> I need to create a large object - a photograph and work with it. I would
be
> using ODBC (application on Windows NT , db server on Linux)
> The doc at
> http://gborg.postgresql.org/project/psqlodbc/faq/faq.php?faq_id=52
> suggests creating a custom type like this.
> create type lo (
>    internallength=4,
>    externallength=10,
>    input=int4in,
>    output=int4out,
>    default='',
>    passedbyvalue
> );
>
> I need to define the input & output functions (int4in and int4out).
> Can someone give me a clue as to how these functions should be defined?
> Some sample code would really help me.
>
> Regards,
> Manoj
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org



pgsql-admin by date:

Previous
From: "Chris White"
Date:
Subject: Re: Duplicate indexes found in the postgres Database
Next
From: Stephan Szabo
Date:
Subject: Re: Indexes on Large Tables