Re: Views, views, views! (long)

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Views, views, views! (long)
Date: 2005-05-05 17:32:28
Message-ID: 427A58AC.7050106@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus wrote:
> And, as an increasing number of 3rd-party tools support PostgreSQL (like
> Embarcadero) they need a simple comprehensible API for system objects -- more
> objects than are included in the information_schema.

There are only two choices: Creating a minimal subset tool, which will
rely on INFORMATION_SCHEMA (or a schema API as in ODBC) as standardized
by SQL specs, or making it specifically for every DBMS, whether using
some fancy views or not.

> A 3rd
> party proprietary vendor is not going to learn about OIDs,

Doing it seriously, it probably needs the internal DBMS object
identifiers (oid in the case of pgsql), to uniquely identify objects
even after a rename. Hiding the OIDs in schema views will reduce their
usability.

Regards,
Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-05-05 17:34:29 Re: A real puzzler: ANY way to recover?
Previous Message Tom Lane 2005-05-05 17:27:59 Re: [pgsql-advocacy] Increased company involvement