pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: Ben Ramsey <br@benandliz.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Tables/Columns in upper-case?
Date: Thu, 22 Jan 2004 06:50:20 -0800 (PST)
Message-ID: <20040122145021.44120.qmail@web20807.mail.yahoo.com> (raw)
In-Reply-To: <bunm4s$2593$1@news.hub.org>

--- Ben Ramsey <br@benandliz.com> 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/



view thread (8+ messages)  latest in thread

Message-ID: <20040122145021.44120.qmail@web20807.mail.yahoo.com>
Permalink:  ../20040122145021.44120.qmail@web20807.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040122145021.44120.qmail@web20807.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: jeff_eckermann@yahoo.com, br@benandliz.com
  Subject: Re: Tables/Columns in upper-case?
  In-Reply-To: <20040122145021.44120.qmail@web20807.mail.yahoo.com>
  References: <bunm4s$2593$1@news.hub.org> <20040122145021.44120.qmail@web20807.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox