Re: WIP patch: Collation support - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: WIP patch: Collation support
Date
Msg-id 20080831220840.GC3856@alvh.no-ip.org
Whole thread Raw
In response to WIP patch: Collation support  ("Radek Strnad" <radek.strnad@gmail.com>)
Responses Re: WIP patch: Collation support  ("Radek Strnad" <radek.strnad@gmail.com>)
List pgsql-hackers
Radek Strnad escribió:

> - when creating database with different collation than database cluster, the
> database has to be reindexed. Any idea how to do it? Function
> ReindexDatabase works only when database is opened.

We have this Todo item:
 Set proper permissions on non-system schemas during db creation   Currently all schemas are owned by the super-user
becausethey are   copied from the template1 database. However, since all objects are   inherited from the template
database,it is not clear that setting   schemas to the db owner is correct. 
 

When this was discussed years ago, one proposed idea was that on the
first connection the backend should, as a first task, ensure that
certain administrative chores be done.  The first of those was changing
the ownership of schemas.  It sounds like this reindexing you propose
falls into the same category.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Is this really really as designed or defined in some standard
Next
From: Marko Kreen
Date:
Subject: [PATCH] Make gram.y use palloc/pfree for memory management