Re: postgres create database command does not create database

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Thomas <tszhu2003(at)yahoo(dot)ca>
Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: postgres create database command does not create database
Date: 2016-09-19 08:52:24
Message-ID: CAECtzeX=WHAa_XKwcJXDnA24bC8YqBBQXUN+92Q=7eKfYvwpMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2016-09-18 0:05 GMT+02:00 Thomas <tszhu2003(at)yahoo(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Poul Kristensen 2016-09-19 10:48:55 krb5-pkinit
Previous Message Lucas Possamai 2016-09-19 03:00:13 Re: issue creating database in postgresSQL