Re: Are we losing momentum?

From: Sailesh Krishnamurthy <sailesh(at)cs(dot)berkeley(dot)edu>
To: Rod Taylor <rbt(at)rbt(dot)ca>
Cc: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>, Shridhar Daithankar <shridhar_daithankar(at)persistent(dot)co(dot)in>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Are we losing momentum?
Date: 2003-04-24 22:12:47
Message-ID: bxyist3k0io.fsf@datafix.CS.Berkeley.EDU
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>>>> "Rod" == Rod Taylor <rbt(at)rbt(dot)ca> writes:

>> This is exactly the reason why in db2 _no_ guarantees are made
>> regarding the constancy of the system catalogs (that are in the
>> SYSIBM schema). Instead, the equivalent views (in the SYSCAT
>> schema) are _never_ broken (whether in a point release or a new
>> version). In fact, the SYSCAT views correspond to the ISO SQL
>> standard.

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?

Yes, the INFO SCHEMA - thankfully it's long enough since I looked at
the SQL specs .. I've started forgetting terms. If I never have to
write or read any spec material again, it won't be too soon.

Why extensions, even for things like indexes that aren't in the
standard, they create views (SYSCAT.INDEXES, SYSCAT.INDEXAUTH etc.)

Rod> I'm going with the assumptions DB2 has extended SQL specs in
Rod> some shape or form.

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.

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.

--
Pip-pip
Sailesh
http://www.cs.berkeley.edu/~sailesh

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-04-24 22:28:27 Re: Are we losing momentum?
Previous Message Tom Lane 2003-04-24 21:56:16 Re: table creation using backend functions