By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,773 Members | 1,724 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,773 IT Pros & Developers. It's quick & easy.

Case sensitivity

P: n/a
I use postgres on a window server (IIS 5.1)
Is there anybody that knows if is possible to make postgres no case
sensitive in the manipulating data into tables/views?

Thank you.
D.Ottaviano
Nov 12 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
On Sunday 11 January 2004 09:29, Dario Ottaviano wrote:
I use postgres on a window server (IIS 5.1)
Is there anybody that knows if is possible to make postgres no case
sensitive in the manipulating data into tables/views?


There's no general "case_sensitive = yes/no" flag. There are case-insensitive
operators you can use though.

--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2

P: n/a
On Mon, 12 Jan 2004, Richard Huxton wrote:
On Sunday 11 January 2004 09:29, Dario Ottaviano wrote:
I use postgres on a window server (IIS 5.1)
Is there anybody that knows if is possible to make postgres no case
sensitive in the manipulating data into tables/views?


There's no general "case_sensitive = yes/no" flag. There are case-insensitive
operators you can use though.


Is there a case insensitive locale? Or is that even possible?
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Nov 12 '05 #3

P: n/a
On Monday 12 January 2004 17:58, scott.marlowe wrote:
On Mon, 12 Jan 2004, Richard Huxton wrote:
On Sunday 11 January 2004 09:29, Dario Ottaviano wrote:
I use postgres on a window server (IIS 5.1)
Is there anybody that knows if is possible to make postgres no case
sensitive in the manipulating data into tables/views?


There's no general "case_sensitive = yes/no" flag. There are
case-insensitive operators you can use though.


Is there a case insensitive locale? Or is that even possible?


I've heard it proposed, but don't believe anyone liked the idea enough to do
it. With my limited understanding of encoding/locale issues, that'd mean
adding support at the OS level, I think.

The other option would be an IVARCHAR type with suitably defined operators,
but that's hardly very portable.
--
Richard Huxton
Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #4

P: n/a
"scott.marlowe" <sc***********@ihs.com> writes:
Is there a case insensitive locale? Or is that even possible?


It's certainly possible, but I don't know of any standard locales that
behave like that.

One could also imagine developing a new set of comparison operators that
do case-insensitive comparison, and then making a special index opclass
for that. The locale-insensitive operators Peter built to optimize LIKE
indexing in 7.4 would be a good model.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.