Skip site navigation (1) Skip section navigation (2)

Re: A question about differences between createdb and "create database"

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Paul Vogel <paul(dot)vogel(at)deadeyesoftware(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: A question about differences between createdb and "create database"
Date: 2006-02-18 06:02:31
Message-ID: 15996.1140242551@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Paul Vogel <paul(dot)vogel(at)deadeyesoftware(dot)com> writes:
> So something is 
> apparently different between the command line "createdb" command and the 
> "create database" command.

Not a lot ... createdb just runs psql to issue a create database
command.  One possibility is that you gave createdb a mixed-case
database name, because it will double-quote the name before passing
it on to create database.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Tom LaneDate: 2006-02-18 06:20:37
Subject: Re: Unrecognized service: 8.1.3 on Fedora Core 3
Previous:From: Fran├žoisDate: 2006-02-18 02:40:31
Subject: Unrecognized service: 8.1.3 on Fedora Core 3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group