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 9DC9AD1D22E for ; Thu, 22 Jan 2004 00:11:32 +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 78858-04 for ; Wed, 21 Jan 2004 20:11:03 -0400 (AST) Received: from web20811.mail.yahoo.com (web20811.mail.yahoo.com [216.136.226.216]) by svr1.postgresql.org (Postfix) with SMTP id 521B6D1E988 for ; Wed, 21 Jan 2004 20:09:45 -0400 (AST) Message-ID: <20040122000947.60225.qmail@web20811.mail.yahoo.com> Received: from [208.13.35.65] by web20811.mail.yahoo.com via HTTP; Wed, 21 Jan 2004 16:09:47 PST Date: Wed, 21 Jan 2004 16:09:47 -0800 (PST) From: Jeff Eckermann Subject: Re: Tables/Columns in upper-case? To: Stephen Frost , Andre Felipe Machado Cc: pgsql-odbc@postgresql.org In-Reply-To: <20040121231757.GG1464@ns.snowman.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/78 X-Sequence-Number: 3707 --- Stephen Frost wrote: > * Andre Felipe Machado > (andremachado@techforce.com.br) wrote: > > I guess that it is an Access issue or its MS > driver, because I use OpenOffice > > 1.1 connected to a PostgreSQL through odbc and can > use upper or lower case. > > That just means openoffice must do the upper->lower > conversion for you. > > > Actually, odbc adds double quotes in sql commands > to encapsulate upper case > > names in order to work in pg. > > Hrm, so you can use ""'s around things in psql to > maniuplate those > tables? That's kind of annoying, but might be > manageable (at least, to > rename the tables). > > > It will be not a good idea to incorporate specific > programs "features" into a > > generic driver manager. Maybe into an Access odbc > driver... > > Eh. > > > Suggestion: > > After exporting to PostgreSQL, execute a dump to a > text file. > > Then, edit it to use only lower case and execute > the sql into pg to create new > > lowercase tables. > > That'd be rather silly when I can just rename them > by putting the table > name in ""s. That's kind of annoying though, imv. > :) 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 . __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus