Hmm, I was under the impression that if you create the table with quoted field names, you get case-sensitive names, But if you create the tables without quotes around the the field names, pg will make them lowercase, But case-insensitive.... That way you don't need views or rewrite. Do create table foo( bar int); Instead of Create table "foo" ("bar" int); /björn lundin -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general