Обсуждение: postgres create database command does not create database

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

postgres create database command does not create database

От
Thomas
Дата:
I'm new to postgresSQL and try to create database. I connected as postgres
user/role, I ran create database test1 without any error message, but don't
see test1 database being created. Can someone help to shed some light on
why? Thanks.




--
View this message in context:
http://postgresql.nabble.com/postgres-create-database-command-does-not-create-database-tp5921656.html
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


Re: postgres create database command does not create database

От
Guillaume Lelarge
Дата:
2016-09-18 0:05 GMT+02:00 Thomas <tszhu2003@yahoo.ca>:
I'm new to postgresSQL and try to create database. I connected as postgres
user/role, I ran create database test1 without any error message, but don't
see test1 database being created. Can someone help to shed some light on
why? Thanks.


Did you put a ";" at the end of your SQL statement?

such as:
CREATE DATABASE foo ;


--