Remove pg_attribute_check.sql: these checks merged into new

regress test 'type_sanity'.
This commit is contained in:
Tom Lane 1999-03-28 01:57:32 +00:00
parent 23ef47f89d
commit 79e1d1d58a
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
-- This makes sure the pg_attribute columns match the type's columns
-- bjm 1998/08/26
-- check lengths
SELECT pg_attribute.oid, relname, attname
FROM pg_class, pg_attribute, pg_type
WHERE pg_class.oid = attrelid AND
atttypid = pg_type.oid AND
attlen != typlen;
-- check alignment
SELECT pg_attribute.oid, relname, attname
FROM pg_class, pg_attribute, pg_type
WHERE pg_class.oid = attrelid AND
atttypid = pg_type.oid AND
attalign != typalign;
-- check alignment
SELECT pg_attribute.oid, relname, attname
FROM pg_class, pg_attribute, pg_type
WHERE pg_class.oid = attrelid AND
atttypid = pg_type.oid AND
attbyval != typbyval;