gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Problems with bootstrap and recovery


From: Rogerio Luz Coelho
Subject: Re: [Gnumed-devel] Problems with bootstrap and recovery
Date: Wed, 28 Oct 2009 17:39:39 -0200

Ok after some getting-used-to I understood how to use psql :)

so

step 1) type 'su postgres'

step 2) type 'psql'

step 3) type 'show lc_ctype;' (the dot-comma IS important)

step 4) type 'show server_encoding;' (again the dot-comma IS important)

have the following result:

postgres=# show lc_ctype;
 lc_ctype
----------
 pt_BR
(1 registro)

postgres=# show server_encoding;
 server_encoding
-----------------
 LATIN1
(1 registro)


I took the test out of the gm-bootstrap-server file, but it did not work ...

Rogerio



2009/10/28 Karsten Hilbert <address@hidden>
On Wed, Oct 28, 2009 at 07:46:39AM -0700, Jim Busser wrote:

> >Jerzy is right. Edit /usr/sbin/gm-bootstrap_server and
> >comment out the "exit" inside the UTF-8 check. I guess we'll
> >have to improve that check.
>
> I notice in common that Jerzy has pl_PL.UTF-8 and Rogerio presumably
> pt_BR.po
>
> ... could this be any basis for the trip-up?

I don't think so as the check greps for UTF-8 inside the string:

       psql -t -d template1 -c \"show lc_ctype;\" | grep -q -e C -e UTF-8

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


_______________________________________________


reply via email to

[Prev in Thread] Current Thread [Next in Thread]