agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Xinguo Wei <wei@u.washington.edu>
To: postgres <postgres@postgres.Berkeley.EDU>
Subject: Does 'inherits' support set-field?
Date: Sun, 29 Jan 1995 22:46:17 -0800 (PST)
Message-ID: <Pine.A32.3.91c.950129223552.89183A-100000@homer19.u.washington.edu> (raw)
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 "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
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 using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: wei@u.washington.edu
Subject: Re: Does 'inherits' support set-field?
In-Reply-To: <Pine.A32.3.91c.950129223552.89183A-100000@homer19.u.washington.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox