X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id A99B0474E44 for ; Wed, 5 Feb 2003 19:13:53 -0500 (EST) Received: from news.hub.org (news.hub.org [64.49.215.80]) by postgresql.org (Postfix) with ESMTP id 3F5E4474E42 for ; Wed, 5 Feb 2003 19:13:53 -0500 (EST) Received: by news.hub.org (Postfix, from userid 8) id 216CE43A928; Wed, 5 Feb 2003 19:13:52 -0500 (EST) From: "Daniel Schuchardt" X-Newsgroups: comp.databases.postgresql.admin Subject: Re: Large objects - SOS Date: Thu, 6 Feb 2003 01:15:02 +0100 Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 44 Message-ID: References: X-Complaints-To: usenet@news.hub.org X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 To: pgsql-admin@postgresql.org X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/101 X-Sequence-Number: 7299 Hi, in 7.3 this changed. type : CREATE DOMAIN lo AS oid; And everything works well. Daniel 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