Re: rename database

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Nuwan Liyanage <alnuwan2(at)yahoo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: rename database
Date: 2008-02-06 22:33:41
Message-ID: 47AA35C5.6080600@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Nuwan Liyanage wrote:
> Ok I think I got it. I just went ahead and updated the pg_database table
> and it works..
>

A better way is to connect to another database (template1 for exemple,
but you would better use another one) and fire your statement there.

Updating system table can be dangerous.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message antonio freitas 2008-02-07 00:54:56 password management
Previous Message Nuwan Liyanage 2008-02-06 20:35:41 Re: rename database