Re: Re: Prompt question - Mailing list pgsql-general

From Oliver Elphick
Subject Re: Re: Prompt question
Date
Msg-id 200103131500.f2DF0YG05734@linda.lfix.co.uk
Whole thread Raw
In response to Re: Prompt question  ("Russell Hires" <rhires@earthlink.net>)
List 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.Elphick@lfix.co.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



pgsql-general by date:

Previous
From: gambits
Date:
Subject: Caldera Install
Next
From: "De Leeuw Guy"
Date:
Subject: Re: Create trigger problem :