Return-Path: paxson
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA24133; Tue, 8 Jun 93 16:47:23 -0700
Message-Id: <9306082347.AA24133@postgres.Berkeley.EDU>
From: "Caroline M. Paxson" <paxson@postgres.Berkeley.EDU>
Subject: postquel data type
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
Date: Tue, 08 Jun 1993 16:39:29 -0700
From: "Caroline M. Paxson" <paxson@postgres.Berkeley.EDU>



Hi,
The problem with the following:

  * create OBJECT (name = char16, source = postquel, object = postquel) \g

  Query sent to backend is "create OBJECT (name = char16, source = postquel, object = postquel) "
  WARN:Jun  8 11:43:36:parser: syntax error at or near "postquel"


is that the type "postquel" is not supported.  Take a look at the 
list of supported types in the Introduction(Built-ins) section of
the Postgres manual.  (I'm assuming you haven't defined your own 
type called postquel.)

I am currently working on implementing Postgres sets in a way which
will allow you to store queries as sets.  In the meantime, you might
try using functions, i.e. instead of having an attribute "source", define
a Postquel function called "source".


Carol Paxson
paxson@cs.berkeley.edu
