Re: CREATE DATABASE

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: jose <jose(at)sferacarta(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: CREATE DATABASE
Date: 2003-11-10 17:15:53
Message-ID: Pine.LNX.4.44.0311101812460.11030-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

jose writes:

> 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 ?

These are two different language bindings for the same functionality.
You could also claim that Unix is not consistent because C programs and
shell scripts provide different ways to do the same thing. You would be
right, but it's nevertheless quite intended that way.

--
Peter Eisentraut peter_e(at)gmx(dot)net

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gaetano Mendola 2003-11-10 19:05:43 Re: pg_shadow dump annoying problem
Previous Message ow 2003-11-10 16:23:49 Vacuum verbose and entry timestamp