> Try createdb -D $PGDATA2 testdb
> 
> At 11:26 PM 5/25/00, J.R. wrote:
> >     Hello:

OK, I see this in the code, so it seems $PGDATA2 and 'PGDATA2' are the
same:

if [ "$?" -ne 0 -a ! -d "$Location" ]; then
    PGALTDATA=`printenv $Location 2> /dev/null`
    if [ -z "$PGALTDATA" ]; then
        echo "$CMDNAME: environment variable $Location not set"
        exit 1
    fi

Does everyone have printenv?  I sure hope so.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to