X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 969C9D1B52F for ; Thu, 22 Jan 2004 14:50:57 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 80688-06 for ; Thu, 22 Jan 2004 10:50:30 -0400 (AST) Received: from web20807.mail.yahoo.com (web20807.mail.yahoo.com [216.136.226.196]) by svr1.postgresql.org (Postfix) with SMTP id 3FCABD1E85B for ; Thu, 22 Jan 2004 10:50:18 -0400 (AST) Message-ID: <20040122145021.44120.qmail@web20807.mail.yahoo.com> Received: from [208.13.35.65] by web20807.mail.yahoo.com via HTTP; Thu, 22 Jan 2004 06:50:20 PST Date: Thu, 22 Jan 2004 06:50:20 -0800 (PST) From: Jeff Eckermann Subject: Re: Tables/Columns in upper-case? To: Ben Ramsey , pgsql-odbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/86 X-Sequence-Number: 3715 --- Ben Ramsey wrote: > We used PgAdminIII to migrate an Access database to > PostgreSQL, but I > believe that we had to set all the table names to > lowercase in Access > before we migrated it. It did, however, > automatically set our column > names to lowercase for us. Consequently, if we > didn't set the table > names to lowercase in Access before migrating, then > we had to place > single quotes around the table names in all of our > SQL statements (which > continued to use the capital letters in them), but > if we set the table > names to lowercase before the migration, then we > didn't have to put the > single quotes around the table names in our SQL > statements when they > were hitting the Postgres DB (despite the fact that > the names in the SQL > statements retained the capitalization as defined in > the Access table... > weirdness). With PgAdminII's Migration Wizard, none of this is necessary. Dave Page confirms in a separate email that the Wizard has not yet been implemented in PgAdminIII, which is a pity, seeing that III is otherwise the "latest and greatest". > > Jeff Eckermann wrote: > > Take a look at the Database Migration Wizard that > > comes with PgAdminII (and PgAdminIII as well? I > > haven't checked that out). Amongst its many handy > > features, you can opt to lowercase all identifiers > > (e.g. table names). You should be able to find it > via > > http://pgadmin.postgresql.org . > > ---------------------------(end of > broadcast)--------------------------- > TIP 8: explain analyze is your friend __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/