diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-09 17:20:58 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-09 17:20:58 -0500 |
commit | 3ef16c46fb3a64c150a3b42c3cc4a8538a12ff3f (patch) | |
tree | d9f714d438a5ba31f92a119cf4eb85c48609b7ef /src/backend/utils/adt/jsonb.c | |
parent | 26d538dc93543ed80c315b8313ea4dacd7309ff6 (diff) | |
download | postgresql-3ef16c46fb3a64c150a3b42c3cc4a8538a12ff3f.tar.gz postgresql-3ef16c46fb3a64c150a3b42c3cc4a8538a12ff3f.zip |
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.
Diffstat (limited to 'src/backend/utils/adt/jsonb.c')
0 files changed, 0 insertions, 0 deletions