Issue #442 has been updated by Sébastien Bahloul.

Status changed from Assigned to Feedback
Assigned to changed from Clément OUDOT to Sébastien Bahloul
% Done changed from 0 to 90

Should be fixed with r1704
----------------------------------------
Bug #442: PostGreSQL sample database init does not work
http://tools.lsc-project.org/issues/442

Author: Clément OUDOT
Status: Feedback
Priority: Normal
Assigned to: Sébastien Bahloul
Category: Sample
Target version: 2.0
Problem in version: 


When following the PostGreSQL sample, there is a problem when inserting the 
create.sql:
<pre>
postgres-# \i create.sql 
CREATE ROLE
psql:create.sql:11: ERROR:  invalid locale name French, France
psql:create.sql:13: \connect: FATAL:  database "lsc" does not exist
</pre>

I removed this form create.sql:
<pre>
       LC_COLLATE = 'French, France'
       LC_CTYPE = 'French, France'
</pre>

And it works:
<pre>
postgres=# \i create.sql 
psql:create.sql:3: ERROR:  role "lsc" already exists
CREATE DATABASE
You are now connected to database "lsc" as user "postgres".
CREATE SEQUENCE
ALTER TABLE
psql:create.sql:33: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit 
index "inetorgperson_pkey1" for table "inetorgperson"
CREATE TABLE
GRANT
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to