Re: Change the name of the database

From: Chris Mair <list(at)1006(dot)org>
To: Sylvain Brohée <sbrohee(at)ulb(dot)ac(dot)be>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Change the name of the database
Date: 2005-01-17 11:19:59
Message-ID: 1105960799.4444.68.camel@dell
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas Kretschmer 2005-01-17 11:21:40 Re: [despammed] Change the name of the database
Previous Message Sylvain Brohée 2005-01-17 11:06:45 Change the name of the database