X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id AF71DD1B52C for ; Wed, 15 Oct 2003 01:17:59 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 29046-04 for ; Tue, 14 Oct 2003 22:17:32 -0300 (ADT) Received: from ohsmtp02.ogw.rr.com (ohsmtp02.ogw.rr.com [65.24.7.37]) by svr1.postgresql.org (Postfix) with ESMTP id 4BDAAD1B4E9 for ; Tue, 14 Oct 2003 22:17:28 -0300 (ADT) Received: from miltonstreet.com (cvg-65-27-171-120.cinci.rr.com [65.27.171.120]) by ohsmtp02.ogw.rr.com (8.12.10/8.12.2) with SMTP id h9F1HGI5014718 for ; Tue, 14 Oct 2003 21:17:17 -0400 (EDT) Received: (qmail 8186 invoked by uid 1001); 15 Oct 2003 01:17:16 -0000 Date: Tue, 14 Oct 2003 21:17:16 -0400 From: Sam Carleton To: pgsql-admin@postgresql.org Subject: working with users Message-ID: <20031015011716.GA8177@miltonstreet.com> Mail-Followup-To: pgsql-admin@postgresql.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/146 X-Sequence-Number: 10707 Ok, I am a newbie, but I simply cannot find anything in the documentation so I hope you all are kind to me... I have installed Postgres 7.3.4 (will reinstall once I get OpenSLL compiled into it). I created the postgres user, and the first database. As the postgress user, I am able to run psql and access the database that I created. I have been able to run the create user command. But how do I see what users exist for the database? Because I was the user postgres when I created the database, does that mean there was a postgres user added during creation? If not, what user am I when I run psql as postgres? If I am postgres, what is the password to the database and how do I rest it? Now I am not a DBA, but I have been around enough databases to know that most of them have their own system tables. Does postgres have system tables? If so, where do I find a list of them and their usage? Sam