pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
postgres create database command does not create database
2+ messages / 2 participants
[nested] [flat]

* postgres create database command does not create database
@ 2016-09-17 22:05 Thomas <tszhu2003@yahoo.ca>
  2016-09-19 08:52 ` Re: postgres create database command does not create database Guillaume Lelarge <guillaume@lelarge.info>
  0 siblings, 1 reply; 2+ messages in thread

From: Thomas @ 2016-09-17 22:05 UTC (permalink / raw)
  To: pgsql-admin

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.htm...
Sent from the PostgreSQL - admin mailing list archive at Nabble.com.


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: postgres create database command does not create database
  2016-09-17 22:05 postgres create database command does not create database Thomas <tszhu2003@yahoo.ca>
@ 2016-09-19 08:52 ` Guillaume Lelarge <guillaume@lelarge.info>
  0 siblings, 0 replies; 2+ messages in thread

From: Guillaume Lelarge @ 2016-09-19 08:52 UTC (permalink / raw)
  To: Thomas <tszhu2003@yahoo.ca>; +Cc: pgsql-admin

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 ;


-- 
Guillaume.
  http://blog.guillaume.lelarge.info
  http://www.dalibo.com

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-09-19 08:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-09-17 22:05 postgres create database command does not create database Thomas <tszhu2003@yahoo.ca>
2016-09-19 08:52 ` Guillaume Lelarge <guillaume@lelarge.info>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox