Re: [WIP] patch - Collation at database level - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: [WIP] patch - Collation at database level
Date
Msg-id 48733307.10200@sun.com
Whole thread Raw
In response to Re: [WIP] patch - Collation at database level  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: [WIP] patch - Collation at database level  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Zdenek Kotala napsal(a):

> 
> I though more about it and I discussed it with Radek yesterday. The 
> problem is that collation must be created before user want to use CREATE 
> DATABASE ... COLLATE ... command. It inclines to have have pg_collation 
> as a global catalog, but ANSI specifies to use schema name in collation 
> specification and schemes are database specific ... It means that 
> pg_collation have to be non-shared catalog and new database only 
> inherits collation from template db. And CREATE DATABASE have to check 
> list of collation in template database :(.

thinking more ...
It must be shared catalog because pg_database will depend on it.
Zdenek


-- 
Zdenek Kotala              Sun Microsystems
Prague, Czech Republic     http://sun.com/postgresql



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: [patch] plproxy v2
Next
From: Martijn van Oosterhout
Date:
Subject: Re: [WIP] patch - Collation at database level