Re: dropping anonymous constraints

From: Ben Liblit <liblit(at)eecs(dot)berkeley(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Cc: Doug McNaught <doug(at)wireboard(dot)com>
Subject: Re: dropping anonymous constraints
Date: 2002-07-17 19:59:42
Message-ID: 3D35CCAE.4060502@eecs.berkeley.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Doug McNaught wrote:
> '\d' and friends in psql are just shorthand for queries against the
> system catalogs. So you're not "stepping outside the language",
> really.

But the system catalogs' names and organization are themselves
PostgreSQL specific. Presumably MySQL and Oracle and the other folks
don't have tables named "pg_relcheck", "pg_class", and so on. They
probably provide the same facilities, but not in the same way.

I guess this is the part I find suprising: the non-standardization of
database meta-information. SQL is great for getting information *out*
of a database, but seems to have a serious blind spot when it comes to
fetching information *about* a database.

{shrug}

In any case, thanks for the "psql -E" tip!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-07-17 20:01:35 Re: table size growing out of control
Previous Message Bruce Momjian 2002-07-17 19:57:09 Re: table size growing out of control