Received: from tidal.ipinc.com (tidal.ipinc.com [199.245.188.85]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5QMNua95764; Tue, 26 Jun 2001 18:23:56 -0400 (EDT) (envelope-from jliang@tidal.ipinc.com) Received: from localhost (jliang@localhost) by tidal.ipinc.com (8.9.3/8.9.3) with ESMTP id PAA78924; Tue, 26 Jun 2001 15:23:52 -0700 (PDT) (envelope-from jliang@tidal.ipinc.com) Date: Tue, 26 Jun 2001 15:23:52 -0700 (PDT) From: Jie Liang To: pgsql-admin@postgresql.org cc: pgsql-sql@postgresql.org Subject: how to limit user to open another session In-Reply-To: <200106261958.f5QJwsa45412@postgresql.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200106/165 X-Sequence-Number: 1736 I've a java application use postgresql-7.1.2. I'd like do not allow same user connect to database before close courrent one. i.e. one user one session. because multiple sessions one user always cause trouble. how to do it?? Thanks. Jie LIANG St. Bernard Software 10350 Science Center Drive Suite 100, San Diego, CA 92121 Office:(858)320-4873 jliang@ipinc.com www.stbernard.com www.ipinc.com