]> granicus.if.org Git - postgresql/commitdiff
Remove pg_attribute_check.sql: these checks merged into new
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Mar 1999 01:57:32 +0000 (01:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Mar 1999 01:57:32 +0000 (01:57 +0000)
regress test 'type_sanity'.

src/include/catalog/pg_attribute_check.sql [deleted file]

diff --git a/src/include/catalog/pg_attribute_check.sql b/src/include/catalog/pg_attribute_check.sql
deleted file mode 100644 (file)
index f671eef..0000000
+++ /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;
-
-
-