aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>1999-03-28 01:57:32 +0000
committerTom Lane <tgl@sss.pgh.pa.us>1999-03-28 01:57:32 +0000
commit79e1d1d58a88c9531df4499336458f4a668409ee (patch)
tree9e2e90b8a1f74a3ea61755b26a795bd8384d6b3e /src
parent23ef47f89dcef116cdc2932febd5f39eeca3242f (diff)
downloadpostgresql-79e1d1d58a88c9531df4499336458f4a668409ee.tar.gz
postgresql-79e1d1d58a88c9531df4499336458f4a668409ee.zip
Remove pg_attribute_check.sql: these checks merged into new
regress test 'type_sanity'.
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/pg_attribute_check.sql26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/include/catalog/pg_attribute_check.sql b/src/include/catalog/pg_attribute_check.sql
deleted file mode 100644
index f671eef3c96..00000000000
--- 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;
-
-
-