> the pgsql-prompt sometimes shows "dbname#>" and sometimes shows "dbname=>". > What does this mean?
It's the former when you are running psql as a database superuser and thelatter in the opposite case.
Andrew