Page 1 of 1

Pgadmin Does CREATE DATABASE but psql does not

PostPosted: Sun Jan 06, 2013 12:30 pm
by cuoredisardegna
Hi to All,
I am afraid to make problematic questions about the same subject.

Could Someone resolve?

If a Database "MYDB" is created with Pgadmin there is no problem.

But if it is invoked psql as superuser (postgres) no command is executed. Neiher the other command as "initdb"

Instead if, in psql is typed the command "\l", all DB are seen.

I tried with psql installed in my laptop, in the linux server; with psql of Postgres 8.4.1; 9.0; 9.2, but it was obtained the same effect.

It may be a banal quaestion for You.

Tanks in advance.
Gianni Pinna

Re: Pgadmin Does CREATE DATABASE but psql does not

PostPosted: Wed Jan 09, 2013 11:35 am
by ROCLASI
Hi Gianni,

cuoredisardegna wrote:But if it is invoked psql as superuser (postgres) no command is executed. Neiher the other command as "initdb"

Instead if, in psql is typed the command "\l", all DB are seen.

What command are you trying to execute in psql that doesn't work ?