From: Tom Lane <tgl@sss.pgh.pa.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: I do not get the point of the information_schema
Date: Tue, 13 Feb 2018 18:46:25 -0500
Message-ID: <6940.1518565585@sss.pgh.pa.us> (raw)
In-Reply-To: <CAKFQuwYTQYwrXjR9uYKSOefH13GfVFmq1BwcLmp-1t4SS-MN=Q@mail.gmail.com>
References: <303d3d2c-ef0b-af0a-e4d1-4b17a029fc0f@gelassene-pferde.biz>
<20180213225755.hbpadizwav3ma2kn@hjp.at>
<CAKFQuwbXbq73==e18A2JcNX9Nii3y4ywMW-s2-69Pfrwt3FeUQ@mail.gmail.com>
<20180213231731.oatjdd352j6dju4r@hjp.at>
<CAKFQuwYTQYwrXjR9uYKSOefH13GfVFmq1BwcLmp-1t4SS-MN=Q@mail.gmail.com>
"David G. Johnston" <david.g.johnston@gmail.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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, david.g.johnston@gmail.com, hjp-pgsql@hjp.at
Subject: Re: I do not get the point of the information_schema
In-Reply-To: <6940.1518565585@sss.pgh.pa.us>
References: <303d3d2c-ef0b-af0a-e4d1-4b17a029fc0f@gelassene-pferde.biz> <20180213225755.hbpadizwav3ma2kn@hjp.at> <CAKFQuwbXbq73==e18A2JcNX9Nii3y4ywMW-s2-69Pfrwt3FeUQ@mail.gmail.com> <20180213231731.oatjdd352j6dju4r@hjp.at> <CAKFQuwYTQYwrXjR9uYKSOefH13GfVFmq1BwcLmp-1t4SS-MN=Q@mail.gmail.com> <6940.1518565585@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox