daniel m wrote:
> sh-2.04$ createdb planifgr -D 'PGDATA2'
> ERROR: Postmaster environment variable 'PGDATA2' not set
> createdb: database creation failed
>
> although :
>
> sh-2.04$ echo $PGDATA2
> /home/postgres/data
sholdn't it be
sh-2.04$ createdb planifgr -D $PGDATA2
?
/Björn