pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Schuchardt <daniel_schuchardt@web.de>
To: pgsql-admin@postgresql.org
Subject: Re: Large objects - SOS
Date: Thu, 6 Feb 2003 01:15:02 +0100
Message-ID: <b1s9bv$1jce$1@news.hub.org> (raw)
References: <OF0B8A93EA.20F6C498-ON65256CC3.0043C73A@LocalDomain>

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





view thread (3+ messages)

Message-ID: <b1s9bv$1jce$1@news.hub.org>
Permalink:  ../b1s9bv$1jce$1@news.hub.org/
Also on:    postgresql.org/message-id/b1s9bv$1jce$1@news.hub.org

 · 

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-admin@postgresql.org
  Cc: daniel_schuchardt@web.de
  Subject: Re: Large objects - SOS
  In-Reply-To: <b1s9bv$1jce$1@news.hub.org>
  References: <OF0B8A93EA.20F6C498-ON65256CC3.0043C73A@LocalDomain> <b1s9bv$1jce$1@news.hub.org>

* 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