"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                                [EMAIL PROTECTED]
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



---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to