From: Josh Berkus <josh@agliodbs.com>
To: pgsql-docs@postgresql.org
Subject: Suggested changes to Tutorial
Date: Mon, 31 Jul 2006 15:29:35 -0700
Message-ID: <200607311529.35214.josh@agliodbs.com> (raw)
Folks:
in tutorial-createdb, it says:
"... where your own login name is mentioned. This will happen if the
administrator has not created a PostgreSQL user account for you.
(PostgreSQL user accounts are distinct from operating system user
accounts.) If you are the administrator, see Chapter 18 for help creating
accounts. You will need to become the operating system user under which
PostgreSQL was installed (usually postgres) to create the first user
account. It could also be that you were assigned a PostgreSQL user name
that is different from your operating system user name; in that case you
need to use the -U switch or set the PGUSER environment variable to
specify your PostgreSQL user name."
This isn't nearly clear enough for a tutorial. It should say:
"... where your own login name is mentioned. This will happen if the
administrator has not created a PostgreSQL user account for you.
(PostgreSQL user accounts are distinct from operating system user
accounts.) It could also be that you were assigned a PostgreSQL user name
that is different from your operating system user name; in that case you
need to use the -U switch or set the PGUSER environment variable to
specify your PostgreSQL user name.
If this is a new installation and you are the administrator, then you
probably need to connect as the system user who owns the PostgreSQL
installation, usually "postgres", but sometimes "pgsql". On POSIX systems
you can do this via the command "su - postgres"; otherwise simply log into
the system as that system user. Once you are logged in as the
installation owner, you can use createuser<link> to add other accounts."
--
--Josh
Josh Berkus
PostgreSQL @ Sun
San Francisco
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 using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: Suggested changes to Tutorial
In-Reply-To: <200607311529.35214.josh@agliodbs.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