aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
-
-
-