Thread: Variable case database names

Variable case database names

From
amprasad@hss.hns.com
Date:



 Whenever i create a database  with command :


         psql -h HostName -p PortName  -c "create database   DATABASENAME "
template1

The  database     is created with small case .

     How can i  create variable case data bases   ?


regards
AMBIKA



Re: Variable case database names

From
Peter Eisentraut
Date:
amprasad@hss.hns.com writes:

>      How can i  create variable case data bases   ?

Double quote the database name:

psql -c 'create database "MiXeD";'

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter