Re: ALTER DATABASE RENAME with HS/SR

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Subject: Re: ALTER DATABASE RENAME with HS/SR
Date: 2010-10-04 19:16:28
Message-ID: 4CAA280C.1000308@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 10/4/10 10:24 AM, Robert Haas wrote:
> I understand that we need to disconnect users if the database is
> dropped (it's kind of hard to access a database that's not there any
> more...) but I'm fuzzy on why we'd need to do that if it is merely
> renamed.

This seems like an unexpected benefit, and the behavior which users
would desire if they could choose it. Why would we break what's not broken?

+1 to keep ALTER DATABASE functionality the way it is, and merely fix
the docs.

--
-- Josh Berkus
PostgreSQL Experts Inc.
http://www.pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomoaki Sato 2010-10-04 19:18:04 Re: pgadmin3_90 package
Previous Message Robert Haas 2010-10-04 19:13:31 Re: ALTER DATABASE RENAME with HS/SR