Обсуждение: Database names ...

Поиск
Список
Период
Сортировка

Database names ...

От
Tomas
Дата:
I am using postgresql v. 7.0. Using psql with command
create database "NEW" I create a new database NEW (uppercase) and
create same tables in this database.
After this I create database copy with pg_dumpall.
But then I try to restore this database from copy, I receive
an error, because pg_dumpall exports commands without double
quotes: create database NEW ...
Can someone fix this error?

Tomas


Re: Database names ...

От
Tom Lane
Дата:
Tomas <merkurit@takas.lt> writes:
> After this I create database copy with pg_dumpall.
> But then I try to restore this database from copy, I receive
> an error, because pg_dumpall exports commands without double
> quotes: create database NEW ...

Fixed for 7.0.1.  Thanks for the report.
        regards, tom lane