Re: createdb -- alternate locations

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: createdb -- alternate locations
Дата
Msg-id 200005260310.XAA24409@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: createdb -- alternate locations  (Charles Tassell <ctassell@isn.net>)
Ответы Re: createdb -- alternate locations  (Giles Lean <giles@nemeton.com.au>)
Список pgsql-general
> 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
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: createdb -- alternate locations
Следующее
От: Bruce Momjian
Дата:
Сообщение: Permissions on pg_dump/pg_dumpall files