pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add some checks on "char"-type columns to type_sanity and opr_sa
Date: Sat, 09 Jan 2016 22:21:04 +0000
Message-ID: <E1aI1se-0007hn-H2@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Add some checks on "char"-type columns to type_sanity and opr_sanity.

I noticed that the sanity checks in the regression tests omitted to
check a couple of "poor man's enum" columns that you'd reasonably
expect them to check.

There are other "char"-type columns in system catalogs that are not
covered by either type_sanity or opr_sanity, e.g. pg_rewrite.ev_type.
However, those catalogs are not populated with any manually-created
data during bootstrap, so it seems less necessary to check them
this way.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3ef16c46fb3a64c150a3b42c3cc4a8538a12ff3f

Modified Files
--------------
src/test/regress/expected/opr_sanity.out  |    4 +++-
src/test/regress/expected/type_sanity.out |    4 +++-
src/test/regress/sql/opr_sanity.sql       |    4 +++-
src/test/regress/sql/type_sanity.sql      |    4 +++-
4 files changed, 12 insertions(+), 4 deletions(-)


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


Message-ID: <E1aI1se-0007hn-H2@gemulon.postgresql.org>
Permalink:  ../E1aI1se-0007hn-H2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aI1se-0007hn-H2@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Add some checks on "char"-type columns to type_sanity and opr_sa
  In-Reply-To: <E1aI1se-0007hn-H2@gemulon.postgresql.org>
  References: <E1aI1se-0007hn-H2@gemulon.postgresql.org>

* 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