Re: problem with dropping database

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Antti Lihavainen <alihavai(at)lut(dot)fi(dot)remove>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: problem with dropping database
Date: 2002-02-26 18:20:24
Message-ID: 1014747625.5762.243.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 2002-02-25 at 13:54, Antti Lihavainen wrote:
>
> I created a new database with alternate location (create database
> java_general with location = 'JAVA_GENERAL_DB';). Now I can't drop
> this database:
>
> --- clip ---
> bash-2.05$ dropdb java_general
> ERROR: Postmaster environment variable 'JAVA_GENERAL_DB' not set
> dropdb: database removal failed
> --- clip ---
>
> The env var is set afaik:
>
> bash-2.05$ echo $JAVA_GENERAL_DB
> /home/www/html/somewhere/somedir/
>
>
> Any ideas?

I guess the environment variable is not set in the postmaster's
environment.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C

"But God commendeth his love toward us, in that, while
we were yet sinners, Christ died for us."
Romans 5:8

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2002-02-26 18:28:04 Re: archives.postgresql.org
Previous Message Philip Hallstrom 2002-02-26 18:07:25 Re: terminal with horizontal scrollbar