Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1clKhm-0006Ht-96 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2017 19:23:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1clKhl-0001WD-6a for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Mar 2017 19:23:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1clJKZ-00085M-Qc for pgsql-hackers@postgreSQL.org; Tue, 07 Mar 2017 17:55:27 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1clJKT-0008Eh-0H for pgsql-hackers@postgreSQL.org; Tue, 07 Mar 2017 17:55:26 +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 v27HtJRc027900 for ; Tue, 7 Mar 2017 12:55:19 -0500 From: Tom Lane To: pgsql-hackers@postgreSQL.org Subject: Bizarre choice of case for RELKIND_PARTITIONED_TABLE MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27897.1488909319.1@sss.pgh.pa.us> Date: Tue, 07 Mar 2017 12:55:19 -0500 Message-ID: <27899.1488909319@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Is there a good reason why RELKIND_PARTITIONED_TABLE is 'P' not 'p'? It looks rather out of place considering that seven of the eight pre-existing relkind codes are lower case. (And no, I don't especially approve of RELKIND_SEQUENCE being 'S' either, but it's far too late to change that.) Also, in typical low-res monospaced fonts, there's nearly no difference except vertical alignment between P and p, meaning that in something like regression=# select distinct relkind from pg_class; relkind --------- r t P v m i S c (8 rows) you have to look rather closely even to notice that what you're seeing isn't in the case you might expect. I think we should change this while we still can. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers