[postgis-devel] run_test and PostgreSQL user

Courtin Olivier olivier.courtin at camptocamp.com
Thu Mar 19 06:48:48 PDT 2009


On Mar 19, 2009, at 2:17 PM, Mark Cave-Ayland wrote:

Hi Mark,

> Specifying the default user for any libpq application can be done  
> using the environment variable PGUSER like this:
>
> PGUSER=postgres ./run_test a_test

Yes !
Definitly the the kind of things i've looked for ! :)

> Then again, I don't recommend running PostgreSQL as the postgres  
> user for development purposes, since
> it's a pain to keep switching users. It's far better to install  
> everything into a single home directory and then
> configure .bash_profile to set any default ports/users if required.

Ok, i will look that too


Thanks a lot !

--
Olivier



More information about the postgis-devel mailing list