"Thomas T. Thai" wrote:
>also, when i start 'psql' as system user joe, it says:
>psql: FATAL 1: Database "joe" does not exist in the system catalog.
>if i run psql as system user XXX it would say '... Database "XXX" does not
>from the documents, it seems as though i can start psql without specifying
If you don't specify the database, psql defaults to a database named by your
own login name. If you want to connect to any other database, do
`psql -d database'.
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
"Give to him that asketh thee, and from him that would
borrow of thee turn not away."
pgsql-general by date
|Next:||From: David Wright||Date: 2000-12-30 14:45:10|
|Previous:||From: Lincoln Yeoh||Date: 2000-12-30 08:07:28|
|Subject: Re: Re: Failed Statements within Transactions|