From: adey <adey11@gmail.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
To: postgresql-l <postgresql-l@Groups.ittoolbox.com>
Subject: Where do I execute the DISCONNECT command?
Date: Wed, 28 Jun 2006 11:22:18 +1200
Message-ID: <1c66bda80606271622j620d648ao6ee9655d05dc799e@mail.gmail.com> (raw)
Please could you tell me where I must execute the following to disconnect
idle transactions in Potgres:-
EXEC SQL DISCONNECT [connection-name];
I've tried variations of this syntax in PGAdmin, psql, and the Linus command
line in both v8.1.4 and v7.4.2 - all of which fail.
COuld you also tell me what "connection-name" is? I've assumed it's the PID
as listed in pg_stat_activity, but haven't been able to test this as I can't
get the syntax and environment correct.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: adey11@gmail.com, postgresql-l@Groups.ittoolbox.com
Subject: Re: Where do I execute the DISCONNECT command?
In-Reply-To: <1c66bda80606271622j620d648ao6ee9655d05dc799e@mail.gmail.com>
References: <1c66bda80606271622j620d648ao6ee9655d05dc799e@mail.gmail.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