pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PSQLODBC case insensitive
3+ messages / 2 participants
[nested] [flat]

* PSQLODBC case insensitive
@ 2007-02-08 21:00  Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Antonio Carlos Ferreira Júnior @ 2007-02-08 21:00 UTC (permalink / raw)
  To: pgsql-odbc

Hi folks

I'm accessing my PostgreSQL server from Windev (a french development
tool) through the ODBC driver. I created the tables without quotes, so it
doesnt if I execute this:

SELECT column FROM table
or this:
 SELECT CoLuMn FROM tAbLe

But when I put the tables and columns names in Windev on lowercase I can
access without problems. If I change one or more letters to uppercase I get
an error.
Seems like the driver is building the statements like this:

SELECT "CoLuMn" FROM "tAbLe"

So the server cant find the tables and columns. Thas what I think. I'm I
wrong? If not, is that a way that I can make the ODBC driver build the
statements without quotes?


Sorry for my bad English.

Antonio Carlos,
Itabuna - BA - Brasil

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PSQLODBC case insensitive
@ 2007-02-09 16:01  Ludek Finstrle <luf@pzkagis.cz>
  parent: Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Ludek Finstrle @ 2007-02-09 16:01 UTC (permalink / raw)
  To: Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>; +Cc: pgsql-odbc

> I'm accessing my PostgreSQL server from Windev (a french development
> tool) through the ODBC driver. I created the tables without quotes, so it

Where have you created the tables? Could you try create new one with
logs enabled to see what SQL command is executed?

> doesnt if I execute this:
> 
> SELECT column FROM table
> or this:
> SELECT CoLuMn FROM tAbLe

Sorry, I don't understand what's the problem.

> But when I put the tables and columns names in Windev on lowercase I can
> access without problems. If I change one or more letters to uppercase I get
> an error.
> Seems like the driver is building the statements like this:
> 
> SELECT "CoLuMn" FROM "tAbLe"

What does psqlodbc.log or mylog say (SQL statements)?

Regards,

Luf



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: PSQLODBC case insensitive
@ 2007-02-10 12:59  Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>
  parent: Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 0 replies; 3+ messages in thread

From: Antonio Carlos Ferreira Júnior @ 2007-02-10 12:59 UTC (permalink / raw)
  To: pgsql-odbc

I was wrong, Im not accessing through the ODBC driver, Im using ODBC access
via OLEDB.
I did an example accessing directly through the ODBC driver and it worked
fine.
I guess it is the OLEDB that is making the confusion.

Sorry for the trouble and for my bad English again.
Thanks anyway

Antonio Carlos,
Itabuna - BA - Brasil

^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-02-10 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 21:00 PSQLODBC case insensitive Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>
2007-02-09 16:01 ` Ludek Finstrle <luf@pzkagis.cz>
2007-02-10 12:59   ` Antonio Carlos Ferreira Júnior <antoniocferreira@gmail.com>

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