Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )
Дата
Msg-id 12512.1144607055@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )  ("Milen Kulev" <makulev@gmx.net>)
Ответы Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )  ("Milen Kulev" <makulev@gmx.net>)
Список pgsql-general
"Milen Kulev" <makulev@gmx.net> writes:
> I am  getting the commands you mention:
>  pg_restore  -C -Fc tdb1b.bak  1> OUT
>  Less OUT:

> CREATE DATABASE testdb1 WITH TEMPLATE = template0 ENCODING = 'UTF8' TABLESPACE = tbs1;
> ALTER DATABASE testdb1 OWNER TO pg;
> \connect testdb1
> ...

> , but testdb1  is NOT created !

So why not?  Try reading the error messages that are (probably) reported
when you run the script.  Maybe you're trying to run the script as a
user that hasn't got CREATEDB privilege?

            regards, tom lane

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

Предыдущее
От: "Milen Kulev"
Дата:
Сообщение: Re: "Pg_restore -C" is not creating a database ( Was Create database bug in 8.1.3 ? )
Следующее
От: Gavin Hamill
Дата:
Сообщение: Re: Load testing across 2 machines