pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Andre Felipe Machado <andremachado@techforce.com.br>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Tables/Columns in upper-case?
Date: Wed, 21 Jan 2004 18:17:57 -0500
Message-ID: <20040121231757.GG1464@ns.snowman.net> (raw)
In-Reply-To: <200401212114.13493.andremachado@techforce.com.br>
References: <20040121225448.GD1464@ns.snowman.net>
	<200401212114.13493.andremachado@techforce.com.br>

* 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. :)

Thanks,

	Stephen

Attachments:

  signature.asc (application/pgp-signature, 188B) download

view thread (8+ messages)  latest in thread

Message-ID: <20040121231757.GG1464@ns.snowman.net>
Permalink:  ../20040121231757.GG1464@ns.snowman.net/
Also on:    postgresql.org/message-id/20040121231757.GG1464@ns.snowman.net

 · 

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: sfrost@snowman.net, andremachado@techforce.com.br
  Subject: Re: Tables/Columns in upper-case?
  In-Reply-To: <20040121231757.GG1464@ns.snowman.net>
  References: <20040121225448.GD1464@ns.snowman.net> <200401212114.13493.andremachado@techforce.com.br> <20040121231757.GG1464@ns.snowman.net>

* 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