One Quickie

Connecting to a user / database (Postgresql->General)
Say you have your primary database user as 'nsadmin', and they have a database called 'openacs'. If you're using the default pg_hba.conf, you can connect to the database, logged in as an ordinary person, by doing

% psql -U nsadmin opeancs

borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book