Re: Re: Prompt question

From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Russell Hires" <rhires(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Re: Prompt question
Date: 2001-03-13 15:00:33
Message-ID: 200103131500.f2DF0YG05734@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Russell Hires" wrote:
>Hello all,
>
>I have a question. I'm
>currently running version 7.0.3 (compiled myself using debuild) on
>debian-m68k potato. When I start psql, my prompt doesn't look like every
>example I've seen. The examples are like this: "mydb=>" My prompt looks like
>this: "test=#" (no quotes, of course) I don't know if this is significant or
>not, obviously it is in Linux, but in Postgres I don't know.

The prompt indicates whether you have administrator privileges in
PostgreSQL. Here's an illustration:

bray=# select usename, usesuper from pg_user;
usename | usesuper
----------+----------
postgres | t
dan | f
ruth | f
olly | t
hoho | f
(6 rows)

bray=# \c - dan
You are now connected as new user dan.
bray=> \c - olly
You are now connected as new user olly.
bray=#

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Who is like Thee among the gods, O Lord? Who is like
Thee, majestic in holiness, awesome in praises,
working wonders?"
Exodus 15:11

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-03-13 15:09:24 Re: "critical mass" reached?
Previous Message Richard Huxton 2001-03-13 14:58:09 Re: Execution plans for tpc-h