pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sachin Kotwal <kotsachin@gmail.com>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Naming conventions for column names
Date: Mon, 06 Nov 2017 09:33:50 -0500
Message-ID: <9696.1509978830@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+N_YAdJPaEhFETizKnjFWeGy6=phUZ+WFz3MBp5SovJScoBbw@mail.gmail.com>
References: <CA+N_YAf3Bywmo_caFWXfFh6P20=T6CRkMexx+FSM=aEt6ikenQ@mail.gmail.com>
	<CA+N_YAcazMuWH-cUT_cKMxFP7rAbsjaFOFGs_KLDKrNbD-k9yw@mail.gmail.com>
	<4b129b1b-f5af-d007-30e4-9be9cacf175f@2ndquadrant.com>
	<CA+N_YAdJPaEhFETizKnjFWeGy6=phUZ+WFz3MBp5SovJScoBbw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

Sachin Kotwal <kotsachin@gmail.com> writes:
> I can understand that it is important to maintain naming pattern same as
> system catalogs, but in that case we may need to redefine system catalogs
> naming conventions .

Those naming conventions are twenty-five years old, and there is an
astonishing amount of client code that would break if we ran around
changing existing system catalog column names.  It's very unlikely that
any proposal to do that would even receive serious consideration.

The bar to using new naming conventions in new catalogs would be
lower, of course, but then you have to think about the confusion
factor of having different naming styles in different places.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



view thread (14+ messages)  latest in thread

Message-ID: <9696.1509978830@sss.pgh.pa.us>
Permalink:  ../9696.1509978830@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9696.1509978830@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, kotsachin@gmail.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: Naming conventions for column names
  In-Reply-To: <9696.1509978830@sss.pgh.pa.us>
  References: <CA+N_YAf3Bywmo_caFWXfFh6P20=T6CRkMexx+FSM=aEt6ikenQ@mail.gmail.com> <CA+N_YAcazMuWH-cUT_cKMxFP7rAbsjaFOFGs_KLDKrNbD-k9yw@mail.gmail.com> <4b129b1b-f5af-d007-30e4-9be9cacf175f@2ndquadrant.com> <CA+N_YAdJPaEhFETizKnjFWeGy6=phUZ+WFz3MBp5SovJScoBbw@mail.gmail.com> <9696.1509978830@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