Re: Change the name of the database - Mailing list pgsql-novice

From Chris Mair
Subject Re: Change the name of the database
Date
Msg-id 1105960799.4444.68.camel@dell
Whole thread Raw
In response to Change the name of the database  (Sylvain Brohée <sbrohee@ulb.ac.be>)
Responses Re: Change the name of the database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
> Could somebody help me?
> I'm trying to change the name of my psql database.
> Does it exist any command to do this.

Sure,
just issue this command:

  alter database old_db_name rename to new_db_name;

Bye,
Chris.




pgsql-novice by date:

Previous
From: Sylvain Brohée
Date:
Subject: Change the name of the database
Next
From: Andreas Kretschmer
Date:
Subject: Re: [despammed] Change the name of the database