Received: from jupiter.munster (mark.himsley.easynet.co.uk [195.40.248.73]) by hub.org (8.9.1/8.9.1) with ESMTP id MAA22353 for ; Wed, 18 Nov 1998 12:22:20 -0500 (EST) (envelope-from markh@clockworkweb.com) Received: from techie1 (techie1 [192.168.0.131]) by jupiter.munster (8.8.7/8.8.7) with SMTP id SAA02184; Wed, 18 Nov 1998 18:22:06 GMT From: markh@clockworkweb.com (Mark Himsley) To: pgsql-interfaces@postgresql.org Subject: Case problems in table and column names Date: Wed, 18 Nov 1998 17:22:29 GMT Keywords: office Organization: Clockwork Web Message-ID: <365afb40.453473870@jupiter.munster> X-Mailer: Forte Agent 1.5/32.451 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit It is my understanding that the case of tables and column names should not be significant, and if you use the 'psql' front end it turns all table and column names into lower case. I like to use UpperAndLower case names so that table and column names are readable. What I have done today is to create a DB on my laptop in Microsoft Access then when I was in the office I exported the tables via ODBC into a Postgres database. The ODBC driver is preserving case, so the tables and columns are being created in UpperAndLower case. Now if I access the database from 'psql' or use 'pg_dump -d database > file' it all falls apart, because 'psql' converts all table and column names to lower case and then can't find them. Should the ODBC driver be doing the translation to lower case? I'm using ODBC driver 6.40.0001 with Postgres 6.3.2 from RedHat 5.1. -- Mark Himsley. Technical Director Clockwork Web. +44 171 471 0770 http://www.clockworkweb.com