From: Tom Lane Date: Sun, 28 Mar 1999 01:57:32 +0000 (+0000) Subject: Remove pg_attribute_check.sql: these checks merged into new X-Git-Tag: REL6_5~453 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79e1d1d58a88c9531df4499336458f4a668409ee;p=postgresql Remove pg_attribute_check.sql: these checks merged into new regress test 'type_sanity'. --- diff --git a/src/include/catalog/pg_attribute_check.sql b/src/include/catalog/pg_attribute_check.sql deleted file mode 100644 index f671eef3c9..0000000000 --- a/src/include/catalog/pg_attribute_check.sql +++ /dev/null @@ -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; - - -