Re: pg_dumpall: does not exist database

Поиск
Список
Период
Сортировка
От Csaba Nagy
Тема Re: pg_dumpall: does not exist database
Дата
Msg-id 1145980766.14093.3.camel@coppola.muc.ecircle.de
обсуждение исходный текст
Ответ на Re: pg_dumpall: does not exist database  ("Jim Buttafuoco" <jim@contactbda.com>)
Список pgsql-general
On Tue, 2006-04-25 at 17:49, Jim Buttafuoco wrote:
> just for the record the following also works
>
> from the psql prompt:
> jim=# create database "testing
> jim"# ";
> CREATE DATABASE
> jim=# drop database "testing
> jim"# "
> jim-# ;
> DROP DATABASE
> jim=#
>
> and from the unix shell:
> createdb "testing
> "
> dropdb "testing
> "
>
> you need the double quotes in all cases
>

I'm afraid the OP had a CR and from a unix shell you'll get a LF for the
new line. So for him it did not work. The trick with the wildcard is
very useful in other similar situations too ;-)

Cheers,
Csaba.



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

Предыдущее
От: Gavin Hamill
Дата:
Сообщение: Re: Anyone install 8.1 on Debian Stable?
Следующее
От: Alban Hertroys
Дата:
Сообщение: Re: Database Selection