Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id WAA01663 for postgres-redist; Sun, 29 Jan 1995 22:46:22 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199501300646.WAA01663@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from homer19.u.washington.edu (homer19.u.washington.edu [140.142.76.3]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id WAA01653 for ; Sun, 29 Jan 1995 22:46:21 -0800 Received: by homer19.u.washington.edu (5.65+UW94.10/UW-NDC Revision: 2.32 ) id AA24917; Sun, 29 Jan 95 22:46:17 -0800 X-Sender: wei@homer19.u.washington.edu Date: Sun, 29 Jan 1995 22:46:17 -0800 (PST) From: Xinguo Wei To: postgres Subject: Does 'inherits' support set-field? Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Sun, 29 Jan 95 22:46:22 -0800 Resent-XMts: smtp 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/