Is renaming a database easy or dangerous

From: Hadley Willan <hadley(dot)willan(at)deeperdesign(dot)co(dot)nz>
To: Postgresql General <pgsql-general(at)postgresql(dot)org>
Subject: Is renaming a database easy or dangerous
Date: 2003-02-26 23:05:15
Message-ID: 1046300715.5916.1.camel@atlas.sol.deeper.co.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,
I'd like to rename one of my databases. Is it is simple as changing
the datname field in the pg_databases table?

If so, is it done through ALTER database or a SQL update?

Thank You.
--
Hadley Willan > Systems Development > Deeper Design Limited. +64(7)377-3328
hadley(dot)willan(at)deeperdesign(dot)co(dot)nz > www.deeperdesign.com > +64(21)-28-41-463
Level 1, 4 Tamamutu St, PO Box 90, TAUPO 2730, New Zealand.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-02-26 23:27:21 Re: index usage (and foreign keys/triggers)
Previous Message Carlos Moreno 2003-02-26 22:56:27 Still intrigued... (was: Socket command type e unknown)