mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-30 17:41:16 +02:00
Remove pg_attribute_check.sql: these checks merged into new
regress test 'type_sanity'.
This commit is contained in:
parent
23ef47f89d
commit
79e1d1d58a
@ -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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user