Case insensitive hstore. - Mailing list pgsql-general

From Glenn Pierce
Subject Case insensitive hstore.
Date
Msg-id CAM5ipV8rU0OXaDtuJyyr+U6JmKaeXrjgaDn0F=hsupax18eY0Q@mail.gmail.com
Whole thread Raw
Responses Re: Case insensitive hstore.  (Ian Lawrence Barwick <barwick@gmail.com>)
List pgsql-general
Hi

Does anyone know how one would
select from a table with a hstore field treating the key of the hstore as
case insensitive.

ie

SELECT id, lower(additional_info->'type') AS type FROM table

I would like this to work even if if the store tyoe is

'Type' -> 'original'


failing that is there a way to lowercase the keys and values of the hstore
field of the entire table ?

Thanks

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Avoiding duplication of code via views -- slower? How do people typically do this?
Next
From: "Gauthier, Dave"
Date:
Subject: Re: How to get stored procedure args list from metadata tables ?