Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Ken Johanson
Tom Lane wrote: Ken Johanson <[EMAIL PROTECTED]> writes: -*If* the option to turn on case-insenetive behavior were selectable at the DB or session level, the existing apps could continue to use the case sensitve mode and be completely unaffected. Ken, you clearly fail to understand the point

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Tom Lane
Ken Johanson <[EMAIL PROTECTED]> writes: > Martijn van Oosterhout wrote: >> I think it's unlikely to happen anytime soon. The primary reason being >> that then you can no longer use indexes to search the catalog. Which > I take a different opinion on this: > -*If* the option to turn on case-insen

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Ken Johanson
Martijn van Oosterhout wrote: On Sat, Dec 02, 2006 at 11:08:51AM -0700, Ken Johanson wrote: And my vote is to not have such an option. But I'm not the one who decide so don't worry about what I think :-) I would like to have an option to upper case the identifiers instead of lower casing them a

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Ken Johanson
Dennis Bjorklund wrote: So my vote would remain for having a config-option to ignore case, even on quoted identifiers.. And my vote is to not have such an option. But I'm not the one who decide so don't worry about what I think :-) I would like to have an option to upper case the identifiers

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Dennis Bjorklund
Ken Johanson skrev: Although, since I'm using pgAdmin (III) to design tables in this case, or creating the tables through JDBC (a convenient way to copy tables and data from another datasource) (using the copy-paste gesture), I believe those tools both *are* quoting identifiers that have camel

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Ken Johanson
Dennis Bjorklund wrote: Ken Johanson skrev: Has your experience with PG been different? If so I presume you have have found a config that allows?: SELECT pers.firstName, pers.lastname, As long as you don't create the columns using quotes you can use that kind of names. For example CREA

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Dennis Bjorklund
Ken Johanson skrev: Has your experience with PG been different? If so I presume you have have found a config that allows?: SELECT pers.firstName, pers.lastname, As long as you don't create the columns using quotes you can use that kind of names. For example CREATE TABLE foo (BAR int);

Re: [HACKERS] [SQL] Case Preservation disregarding case

2006-12-02 Thread Ken Johanson
Martijn van Oosterhout wrote: On Sat, Dec 02, 2006 at 12:41:37AM -0700, Ken Johanson wrote: 1: It seems like this behavior of case sensitive-or-not-identifiers could/should be a config option -- either globally for the server, database, or at the connection/session level. Other databases *do*