Return-Path: postarch
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA00145; Wed, 8 Jan 92 16:14:36 -0800
Message-Id: <9201090014.AA00145@postgres.Berkeley.EDU>
From: postarch (Postgres Mailing Archive)
Subject: Re: prob defining type
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Reply-To: clarsen@postgres.berkeley.edu
In-Reply-To: Your message of "Wed, 08 Jan 92 13:43:50 PST."
             <9201082143.AA13710@postgres.Berkeley.EDU> 
Date: Wed, 08 Jan 92 15:06:44 PST


you write:
>
> Go 
> *  define type humongous
> (input = lo_filein, output=lo_fileout, internallength = -1) \g
> 
> Query sent to backend is "define type humongous (input = lo_filein, output=lo
 +_fileout, internallength = -1) "
> WARN:Jan  8 14:01:28:Define: non-positive lengths disallowed
> 
> was this supposed to work?
> 
> thanx in advance,

If you say internallength = 64, it should work for pathnames up to 60 or 56
characters long.  The type is actually variable length.  A 
unix-file-system-like interface to large objects will hopefully be in the 
next release.

	--Case Larsen
