Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elkHZ-00068F-BQ for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 23:46:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elkHX-0002Is-Ub for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 23:46:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1elkHX-0002Ij-Mq for pgsql-general@lists.postgresql.org; Tue, 13 Feb 2018 23:46:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elkHQ-0002Io-QE for pgsql-general@lists.postgresql.org; Tue, 13 Feb 2018 23:46:39 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w1DNkPdZ006941; Tue, 13 Feb 2018 18:46:25 -0500 From: Tom Lane To: "David G. Johnston" cc: "Peter J. Holzer" , "pgsql-generallists.postgresql.org" Subject: Re: I do not get the point of the information_schema In-reply-to: References: <303d3d2c-ef0b-af0a-e4d1-4b17a029fc0f@gelassene-pferde.biz> <20180213225755.hbpadizwav3ma2kn@hjp.at> <20180213231731.oatjdd352j6dju4r@hjp.at> Comments: In-reply-to "David G. Johnston" message dated "Tue, 13 Feb 2018 16:25:58 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6939.1518565585.1@sss.pgh.pa.us> Date: Tue, 13 Feb 2018 18:46:25 -0500 Message-ID: <6940.1518565585@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "David G. Johnston" 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