[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] Make test fails: lc-messages
From:       strk () refractions ! net
Date:       2006-06-25 23:48:07
Message-ID: 20060625234807.GC48067 () keybit ! net
[Download RAW message or body]

On Thu, Jun 15, 2006 at 07:17:34PM -0600, Michael Fuhr wrote:
> On Wed, Jun 14, 2006 at 05:03:26PM -0700, Alastair Smith wrote:
> > When I run 'make test', I get the following error:
> > psql: FATAL:  permission denied to set parameter "lc_messages"
> 
> Are you running the tests as a database superuser?  If not then try
> setting the PGUSER environment variable, like this:
> 
> env PGUSER=postgres make test

It seems that lc_messages cannot be set even by superuser
using pgsql up to 7.4 :((

I updated the 'run_test' script to only try setting it 
when USE_VERSION > 7.4.

Failures due to locales settings are still possible with these versions,
the only way to make sure locales don't get in our way would be to initdb
for the sole purpose of running our regress tests.

Any other idea is welcome.
(Tests are also welcome).

--strk;

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic