X-Original-To: pgsql-hackers@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C743E475E82 for ; Thu, 24 Apr 2003 19:14:14 -0400 (EDT) Received: from nat.inquent.com (CPE00508b028d7d-CM00803785c5e0.cpe.net.cable.rogers.com [24.103.22.28]) by postgresql.org (Postfix) with ESMTP id 56F16475B85 for ; Thu, 24 Apr 2003 19:14:13 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by nat.inquent.com (8.12.8p1/8.12.8) with ESMTP id h3ONE2go048728; Thu, 24 Apr 2003 19:14:02 -0400 (EDT) (envelope-from rbt@rbt.ca) Subject: Re: Are we losing momentum? From: Rod Taylor To: Tom Lane Cc: sailesh@cs.berkeley.edu, "scott.marlowe" , Shridhar Daithankar , PostgreSQL Hackers In-Reply-To: <25012.1051223307@sss.pgh.pa.us> References: <1051189596.46146.24.camel@jester> <25012.1051223307@sss.pgh.pa.us> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-R5htNSScTqD9ZUdr2DBD" Organization: Message-Id: <1051226041.48589.9.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 24 Apr 2003 19:14:02 -0400 X-Spam-Status: No, hits=-45.1 required=5.0 tests=BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_XIMIAN autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/871 X-Sequence-Number: 38361 --=-R5htNSScTqD9ZUdr2DBD Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2003-04-24 at 18:28, Tom Lane wrote: > Sailesh Krishnamurthy writes: > > Rod> The INFORMATION_SCHEMA? Out of curiousity, how do they > > Rod> handle DB2 extensions? Do they create new views in that > > Rod> schema? Do they ignore them? >=20 > > Why extensions, even for things like indexes that aren't in the > > standard, they create views (SYSCAT.INDEXES, SYSCAT.INDEXAUTH etc.)=20 > > ... > > Certainly - it's just that the meaning and number of existing columns > > and rows in the syscat views are always backward compatible. That > > includes support of the info schema - for the sql standard features > > that db2 supports. >=20 > > So if there's something new in the catalog tables that is a result of > > an extension and doesn't appear as a column in the syscat views (or > > the info schema) then an appropriate column may be added to the view - > > provided that this doesn't break the info schema compatibility. >=20 > Of course, IBM can afford to keep reps on the SQL standards committee to > make sure that no future spec extension conflicts with the names they've > used for their additions to INFORMATION_SCHEMA. We, on the other hand, > could easily get burnt by spec changes. We could probably get away with adding pg_ views to the information schema though. For extensions of an existing view, simply inherit the real view into a pg_ labelled view and add the new columns. --=20 Rod Taylor PGP Key: http://www.rbt.ca/rbtpub.asc --=-R5htNSScTqD9ZUdr2DBD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+qG+56DETLow6vwwRAq+LAJ9OpEa8DI4E0xkTaT5HVfB3XYPpsQCffzX9 JzoBb0vtPb8f/8INnkRWS6U= =Sfaw -----END PGP SIGNATURE----- --=-R5htNSScTqD9ZUdr2DBD--