Subject: Does 'inherits' support set-field?

From: Xinguo Wei <[email-masked]>
Date: Sun, 29 Jan 1995 22:46:17 -0800 (PST)

Hi,

I got an error message from the following test case.

create emp (name = char16, dept = char16, age = int4) \g
append emp (name = "john", dept = "EE", age = 29) \g
create dept (name = char16, members = setof emp) \g
create school_dept (school_name = char16) inherits (dept) \g
append school_dept (school_name = "UW", name = "EE",
	members = "retrieve (emp.all) where emp.dept = \\"EE\\"") \g

Postgres complaint the last append query:
WARN:Jan 29 22:31:55:pg_atoi: error in "retrieve (emp.all) where emp.dept 
= "EE" ": can't parse "retrieve (emp.all) where emp.dept = "EE""

I have no problem to append class dept.  It seems to me Postgres 4.2 does not
support the inherits on the set-field.  Is it true? What will be a 
possible work-around? Thanks!

My platform is Dec OSF/1.

Xinguo Wei

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "[email-masked]".
   If this fails, send mail to "[email-masked]" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================
              URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/