X-Original-To: pgsql-advocacy-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7AD2DD1B1DA for ; Fri, 4 Jun 2004 16:20:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74225-10 for ; Fri, 4 Jun 2004 19:20:42 +0000 (GMT) Received: from davinci.ethosmedia.com (server228.ethosmedia.com [209.128.84.228]) by svr1.postgresql.org (Postfix) with ESMTP id 2D6D5D1B1EC for ; Fri, 4 Jun 2004 16:20:39 -0300 (ADT) Received: from [64.81.245.111] (HELO 192.168.1.102) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 5273024; Fri, 04 Jun 2004 12:22:16 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: elein Subject: Re: [SQL] SQL Spec Compliance Questions Date: Fri, 4 Jun 2004 12:20:47 -0700 User-Agent: KMail/1.5.4 Cc: postgresql advocacy References: <200403302050.12415.josh@agliodbs.com> <200406031609.51415.josh@agliodbs.com> <20040604113316.K11485@cookie.varlena.com> In-Reply-To: <20040604113316.K11485@cookie.varlena.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200406041220.47452.josh@agliodbs.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.3 tagged_above=0.0 required=5.0 tests=RCVD_NUMERIC_HELO X-Spam-Level: X-Archive-Number: 200406/54 X-Sequence-Number: 4477 Elein, > In postgres and Illustra, references were possible. > That is, storing the OID (REF) of a table in a column of another > table achieving the same effect. SQL syntax support > was needed for the REF type. I believe this was removed > or suppressed in PostgreSQL. Yeah, I'd like to see a return of table references as FKs. It would allow me to eliminate all of these rather non-relational integer-based surrogate keys. I don't think our OIDs would be the way to go on this, given the problems already discussed with PG OIDs. I kinda like SyBase's solution, where they have a system-acessable hash key of the data in the row. -- -Josh Berkus Aglio Database Solutions San Francisco