Received: from dealer.netventures.com.au (dnet137107-1.gw.connect.com.au [210.8.15.221] (may be forged)) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0F0FwV93694 for ; Mon, 14 Jan 2002 19:15:59 -0500 (EST) (envelope-from david@netventures.com.au) Received: from ciderbox.in.netventures.com.au (net137107-2.gw.connect.com.au [210.9.198.119]) by dealer.netventures.com.au (Postfix) with ESMTP id A7BC71A5DC1; Tue, 15 Jan 2002 11:15:58 +1100 (EST) Date: Tue, 15 Jan 2002 11:16:04 +1100 Subject: Re: Monitoring database Content-Type: multipart/alternative; boundary=Apple-Mail-1-534309663 Mime-Version: 1.0 (Apple Message framework v480) Cc: pgsql-admin@postgresql.org To: romio@il.aduva.com From: David Stanaway In-Reply-To: <3C3C2A12.BB15E98@il.aduva.com> Message-Id: <103EAC6B-094D-11D6-9DC5-0003930FDAB2@netventures.com.au> X-Mailer: Apple Mail (2.480) X-Archive-Number: 200201/87 X-Sequence-Number: 2975 --Apple-Mail-1-534309663 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed On Wednesday, January 9, 2002, at 10:31 PM, Roman Gavrilov wrote: > Hello everybody. > Is there any way to check database status, or who is currently=20 > connected to it. > I tried to drop database and got an error saying that other users using= =20 > this database. > So I=A0wanted to see who is connected right now to the database. Take a look here maybe: http://gborg.postgresql.org/project/pgmonitor/projdisplay.php > One more question is how can I see all tables in the template1 ? > Thanks allot. in the psql client: psql template1 \dt \h is definately worth reading too. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D David Stanaway Personal: david@stanaway.net Work: david@netventures.com.au --Apple-Mail-1-534309663 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 On Wednesday, January 9, 2002, at 10:31 PM, Roman Gavrilov wrote: Hello everybody. Is there any way to check database status, or who is currently connected to it. I tried to drop database and got an error saying that other users using this database. So I=A0wanted to see who is connected right now to the database. Take a look here maybe: http://gborg.postgresql.org/project/pgmonitor/projdisplay.php One more question is how can I see all tables in the template1 ? Thanks allot. in the psql client: psql template1 \dt \h is definately worth reading too.=20 Helvetica=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D David Stanaway Personal: david@stanaway.net=20 Work: david@netventures.com.au --Apple-Mail-1-534309663--