pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Whitney <swhitney@journyx.com>
To: pgsql-admin@postgresql.org
Subject: Stop connections to a specific database
Date: Fri, 18 Jul 2008 10:07:58 -0500
Message-ID: <20080718150744.D5E22ABCC8C@mail.int.journyx.com> (raw)

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
information.

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?





view thread (3+ messages)  latest in thread

Message-ID: <20080718150744.D5E22ABCC8C@mail.int.journyx.com>
Permalink:  ../20080718150744.D5E22ABCC8C@mail.int.journyx.com/
Also on:    postgresql.org/message-id/20080718150744.D5E22ABCC8C@mail.int.journyx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: swhitney@journyx.com
  Subject: Re: Stop connections to a specific database
  In-Reply-To: <20080718150744.D5E22ABCC8C@mail.int.journyx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox