Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eVO0B-0005nl-7E for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 20:45:07 +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 1eVO09-0007BI-AR for pgsql-general@arkaria.postgresql.org; Sat, 30 Dec 2017 20:45:05 +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 1eVO09-0007B8-3A for pgsql-general@lists.postgresql.org; Sat, 30 Dec 2017 20:45:05 +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 1eVO01-00085z-9m for pgsql-general@lists.postgresql.org; Sat, 30 Dec 2017 20:45:03 +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 vBUKirrf009708; Sat, 30 Dec 2017 15:44:53 -0500 From: Tom Lane To: GPT cc: pgsql-general@lists.postgresql.org Subject: Re: Adding an extra boolean column to "information_schema.columns" or "pg_attribute" In-reply-to: References: Comments: In-reply-to GPT message dated "Sat, 30 Dec 2017 20:17:34 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <9706.1514666693.1@sss.pgh.pa.us> Date: Sat, 30 Dec 2017 15:44:53 -0500 Message-ID: <9707.1514666693@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk GPT writes: > I would like to add an extra boolean attribute to table columns, The contents of the information_schema views are specified by the SQL standard (ISO 9075). Since the entire point of having those views is to have a standard-conformant way of accessing the information in the system catalogs, adding nonstandard columns would rather defeat the purpose. If you can persuade the relevant ISO standards committee that this is a good idea, we will adopt the change when it appears in a published version of that standard --- otherwise, it seems quite unlikely that we'd accept a change to the view definition. You'd probably be better off to define your own nonstandard view, IMO. regards, tom lane