Re: issue creating database in postgresSQL

From: Lucas Possamai <drum(dot)lucas(at)gmail(dot)com>
To: Thomas <tszhu2003(at)yahoo(dot)ca>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: issue creating database in postgresSQL
Date: 2016-09-19 03:00:13
Message-ID: CAE_gQfXhAdsvEJjPeJN3DiDA8RQ=00zCUCbn_WH_6oHKkzZukg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

2016-09-18 10:16 GMT+12: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 command without any error message,
> but don't see test1 database being created when I used \list command to see
> all databases. Can someone help to shed some light on why? Thanks.
>

What command did you use to create the database?
did it return any error?
What PostgreSQL version you're using?

Also, post the output of: \l+

su - postgres
psql
\l+

Lucas

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2016-09-19 08:52:24 Re: postgres create database command does not create database
Previous Message Thomas 2016-09-17 22:16:30 issue creating database in postgresSQL