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.