Re: Rename a database that has connections - Mailing list pgsql-hackers

From Mark Kirkwood
Subject Re: Rename a database that has connections
Date
Msg-id 4ECB253A.6020001@catalyst.net.nz
Whole thread Raw
In response to Re: Rename a database that has connections  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
List pgsql-hackers
On 22/11/11 17:24, Mark Kirkwood wrote:
>
> I have not been able to find any other problems caused by this... 
> renaming a db (many times) with hundreds of pgbench connections does 
> not give rise to any issues.
>
>

One point I did miss - the ps listing still uses the old dbname. 
pg_stat_activity is correct however.

regards

Mark



pgsql-hackers by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: Rename a database that has connections
Next
From: Pavel Stehule
Date:
Subject: dblink: enable parameters