Re: Changing the concept of a DATABASE - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Changing the concept of a DATABASE
Date
Msg-id 1337801030.23660.8.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Changing the concept of a DATABASE  (Susanne Ebrecht <susanne@2ndquadrant.com>)
List pgsql-hackers
On tis, 2012-05-22 at 18:00 +0200, Susanne Ebrecht wrote:
> CREATE SCHEMA foo LC_COLLATE bar isn't supported so you went up a
> level and do it by creating a database.
> 
> I would like to get default collation per schema / table in 9.2 or 9.3
> but that is my personal wish,

Another way I've been thinking about is to have a session collation.
Then you don't have to decide about it when the tables are created, but
the application or user interface can decide it at run time without
having to hardcode it into all the queries.

This would effectively take the place of being able to say SET
lc_collate at run time.



pgsql-hackers by date:

Previous
From: Alastair Turner
Date:
Subject: Re: [RFC] Interface of Row Level Security
Next
From: Peter Eisentraut
Date:
Subject: Re: External Open Standards