Re: I do not get the point of the information_schema

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "Peter J(dot) Holzer" <hjp-pgsql(at)hjp(dot)at>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: I do not get the point of the information_schema
Date: 2018-02-13 23:46:25
Message-ID: 6940.1518565585@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> Unless our docs are completely misleading I'd say that PostgreSQL is being
> conforming while MariaDB is treating information_schema as their version of
> pg_catalog (or at least our system views over top of pg_catalog).

Our project policy is that information_schema should show exactly the
columns mandated by whichever spec version we consider current. If you
see some that are not in your copy of the standard, you probably need a
newer copy. (There are links in our wiki to free draft versions of the
spec, which I think are what most of us rely on in practice.)

MariaDB has a much laxer notion of what compliance to the standard means
here, and AFAIK they feel free to add columns that are not in the
standard. We do not do that.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message DrakoRod 2018-02-14 00:27:06 Table Partitioning: Sequence jump issue 10 in 10 with serial datatype
Previous Message David G. Johnston 2018-02-13 23:25:58 Re: I do not get the point of the information_schema