pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: GPT <gptmailinglists@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Adding an extra boolean column to "information_schema.columns" or "pg_attribute"
Date: Sat, 30 Dec 2017 15:44:53 -0500
Message-ID: <9707.1514666693@sss.pgh.pa.us> (raw)
In-Reply-To: <CADep2PN8vide36zQe5X+kTh5BFKkCudKTOM+C_J2KUSDnN5L7Q@mail.gmail.com>
References: <CADep2PN8vide36zQe5X+kTh5BFKkCudKTOM+C_J2KUSDnN5L7Q@mail.gmail.com>

GPT <gptmailinglists@gmail.com> 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




view thread (7+ messages)  latest in thread

Message-ID: <9707.1514666693@sss.pgh.pa.us>
Permalink:  ../9707.1514666693@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9707.1514666693@sss.pgh.pa.us

 · 

reply

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, gptmailinglists@gmail.com
  Subject: Re: Adding an extra boolean column to "information_schema.columns" or "pg_attribute"
  In-Reply-To: <9707.1514666693@sss.pgh.pa.us>
  References: <CADep2PN8vide36zQe5X+kTh5BFKkCudKTOM+C_J2KUSDnN5L7Q@mail.gmail.com> <9707.1514666693@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