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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-02-18 06:20:37 Re: Unrecognized service: 8.1.3 on Fedora Core 3
Previous Message François 2006-02-18 02:40:31 Unrecognized service: 8.1.3 on Fedora Core 3