From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Remove obsolete information schema tables
Date: Fri, 25 Oct 2019 21:57:13 +0200
Message-ID: <98a63a45-a4db-e96a-f80f-e6344a5b8439@2ndquadrant.com> (raw)
In-Reply-To: <20191021053401.GA1869@paquier.xyz>
References: <91334220-7900-071b-9327-0c6ecd012017@2ndquadrant.com>
<20191017074419.GE17439@paquier.xyz>
<9529c18a-bc6e-bceb-65da-02e729adcf35@2ndquadrant.com>
<20191021053401.GA1869@paquier.xyz>
On 2019-10-21 07:34, Michael Paquier wrote:
> On Sun, Oct 20, 2019 at 10:01:09AM +0200, Peter Eisentraut wrote:
>> On 2019-10-17 09:44, Michael Paquier wrote:
>>> I have a question here. Per the notes in information_schema.sql,
>>> SQL_SIZING_PROFILES has been removed in SQL:2011,
>>
>> OK, we can remove that one as well. New patch attached.
>
> Looks fine.
committed
>>> attributes.isnullable and DOMAIN_UDT_USAGE in SQL:2003~. Would it
>>> make sense to cleanup those ones?
>>
>> OK, I'll look into those, but it seems like a separate undertaking. We
>> don't always remove things just because they were dropped by the SQL
>> standard.
>
> But that's the same kind of cleanup you do here. What's the
> difference with DOMAIN_UDT_USAGE, which is mentioned as removed from
> SQL:2003?
SQL_LANGUAGES for example, contains information about which version of
the SQL standard is being conformed to. But since it's no longer in the
standard, it most recently said that SQL:2003 is supported, which isn't
very useful. We could extrapolate new values for more recent standards,
but that's also questionable. So it makes sense to remove it.
By contrast, I don't know why DOMAIN_UDT_USAGE was removed. It might
still be useful. Just because something is dropped by an SQL standard,
it doesn't mean we should remove it. For example, bit and bit varying
are no longer in the standard.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
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-hackers@postgresql.org
Cc: peter.eisentraut@2ndquadrant.com, michael@paquier.xyz
Subject: Re: Remove obsolete information schema tables
In-Reply-To: <98a63a45-a4db-e96a-f80f-e6344a5b8439@2ndquadrant.com>
References: <91334220-7900-071b-9327-0c6ecd012017@2ndquadrant.com> <20191017074419.GE17439@paquier.xyz> <9529c18a-bc6e-bceb-65da-02e729adcf35@2ndquadrant.com> <20191021053401.GA1869@paquier.xyz> <98a63a45-a4db-e96a-f80f-e6344a5b8439@2ndquadrant.com>
* 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