Large objects - SOS - Mailing list pgsql-novice

From mjoseph@inautix.com
Subject Large objects - SOS
Date
Msg-id OF0B8A93EA.20F6C498-ON65256CC3.0043C73A@LocalDomain
Whole thread Raw
Responses Re: [GENERAL] Large objects - SOS
List pgsql-novice
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




pgsql-novice by date:

Previous
From: Adam Witney
Date:
Subject: Re: Mac OsX
Next
From: brew@theMode.com
Date:
Subject: Re: upgrade from 7.0 to 7.2