From: jose <jose@sferacarta.com>
To: pgsql-admin@postgresql.org
Subject: CREATE DATABASE
Date: Mon, 10 Nov 2003 11:32:16 +0100
Message-ID: <3FAF6930.2040508@sferacarta.com> (raw)
Hi,
PostgreSQL is not consistent in the way it uses upper/lower case to
create databases and access it.
Why psql -c 'CREATE DATABASE name_db' uses lower(name_db) an less the
name is enclosed by "" but psql name_db ?
Take a look ....
psql template1 -c "create database MYDB"
psql MYDB
psql: FATAL 1: Database "MYDB" does not exist in the system catalog.
Jo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jose@sferacarta.com
Subject: Re: CREATE DATABASE
In-Reply-To: <3FAF6930.2040508@sferacarta.com>
References: <3FAF6930.2040508@sferacarta.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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