Re: rename database - Mailing list pgsql-admin

From Guillaume Lelarge
Subject Re: rename database
Date
Msg-id 47AA35C5.6080600@lelarge.info
Whole thread Raw
In response to Re: rename database  (Nuwan Liyanage <alnuwan2@yahoo.com>)
Responses Re: rename database  ("Mag Gam" <magawake@gmail.com>)
List 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

pgsql-admin by date:

Previous
From: "Chris Hoover"
Date:
Subject: Help calculating load values
Next
From: antonio freitas
Date:
Subject: password management