X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 14A9D9FAC76 for ; Tue, 27 Jun 2006 20:22:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 17474-09 for ; Tue, 27 Jun 2006 20:22:19 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by postgresql.org (Postfix) with ESMTP id CDDBC9FA5FC for ; Tue, 27 Jun 2006 20:22:19 -0300 (ADT) Received: by ug-out-1314.google.com with SMTP id a2so2875985ugf for ; Tue, 27 Jun 2006 16:22:18 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=HKeP1PaDoG+b1LJkkT9e43nCKhX7K5dc3uGl4TZjtHHwlxLkugW4PQ/drRGNJeUWe7qfiXA5SHQwcIDSxwHbWNFJ2NbSJYu6wiuhBPElfWdoXdixXixtbdMOEsXSZLTOTmhKKpLlusSCDrSWojqHkY33fOzJQ1b+Vt5+GB4jr8w= Received: by 10.67.19.13 with SMTP id w13mr112776ugi; Tue, 27 Jun 2006 16:22:18 -0700 (PDT) Received: by 10.66.234.17 with HTTP; Tue, 27 Jun 2006 16:22:18 -0700 (PDT) Message-ID: <1c66bda80606271622j620d648ao6ee9655d05dc799e@mail.gmail.com> Date: Wed, 28 Jun 2006 11:22:18 +1200 From: adey To: "pgsql-admin@postgresql.org" , postgresql-l Subject: Where do I execute the DISCONNECT command? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6470_8555534.1151450538076" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/263 X-Sequence-Number: 22225 ------=_Part_6470_8555534.1151450538076 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_6470_8555534.1151450538076 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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.
------=_Part_6470_8555534.1151450538076--