Skip site navigation (1) Skip section navigation (2)

Stop connections to a specific database

From: "Scott Whitney" <swhitney(at)journyx(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Stop connections to a specific database
Date: 2008-07-18 15:07:58
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
I'm migrating a pg server (v 8.1.4) this weekend, and I have 2 dbs left on
it. One cannot be shut down until tomorrow. The last remaining one, I can
migrate today.

However, the software that talks to it is somewhat "hinky" and has several
places that connect -- there is no overall consolidated connection

To ensure this is working properly, I want to disable connections to that db
on the old server while using the new one for testing, to ensure everything
is properly working. Given the fact that the other db must remain live on
this old server during that time, I just want to stop connections to this
one particular database.

Is there a simple, preferred method for doing so?


pgsql-admin by date

Next:From: Kevin GrittnerDate: 2008-07-18 16:03:22
Subject: Re: Stop connections to a specific database
Previous:From: Jonah H. HarrisDate: 2008-07-18 13:34:15
Subject: Re: unrecognized data type on dblink

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group