Here is a query that will show the problem:
select relname, attname, atttypmod from pg_attribute, pg_class where attrelid = pg_class.oid;
-- Bruce Momjianmaillist(at)candle(dot)pha(dot)pa(dot)us