X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48FF1D1D84E; Fri, 2 Apr 2004 17:48:38 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 05417-02; Fri, 2 Apr 2004 13:48:42 -0400 (AST) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 10A35D1BC59; Fri, 2 Apr 2004 13:48:36 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i32HluhX001130; Fri, 2 Apr 2004 12:47:56 -0500 (EST) To: Joe Conway Cc: Josh Berkus , pgsql-advocacy@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [SQL] SQL Spec Compliance Questions In-reply-to: <406D9943.8070401@joeconway.com> References: <200403302050.12415.josh@agliodbs.com> <406D1031.7010603@joeconway.com> <200404020838.22698.josh@agliodbs.com> <406D9943.8070401@joeconway.com> Comments: In-reply-to Joe Conway message dated "Fri, 02 Apr 2004 08:48:03 -0800" Date: Fri, 02 Apr 2004 12:47:56 -0500 Message-ID: <1129.1080928076@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/16 X-Sequence-Number: 3988 Joe Conway writes: >>> 4.16.2 Referenceable tables, subtables, and supertables >>> A table BT whose row type is derived from a structured type ST is >>> called a typed table. Only a base table or a view can be a typed >>> table. A typed table has columns corresponding, in name and >>> declared type, to every attribute of ST and one other column REFC >>> that is the self-referencing column of BT; let REFCN be the > After re-reading it, I think it is related to (or at least similar to) > the work Tom is currently doing to allow composite types as table > attributes. The "structured type" stuff seems closely related, but I do not understand the business about a "self-referencing column". I have a feeling that it might be a mutant version of our notion of inheritance ... regards, tom lane