By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,264 Members | 1,277 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,264 IT Pros & Developers. It's quick & easy.

Closing a database

P: n/a
Hello,
Been away from PostgreSQL for a while and probably needs retraining in
the basics.

How do I close a database? Can't even find it in the Manual

Case:
testdb=#
testdb=# EXIT;
ERROR: syntax error at or near "EXIT" at character 1
LINE 1: EXIT;
^
testdb=#
testdb=# QUIT;
ERROR: syntax error at or near "QUIT" at character 1
LINE 1: QUIT;
^
testdb=#
testdb=# END;
WARNING: there is no transaction in progress
<p>COMMIT</p>
testdb=#

quit works in MySQL

Stuck in testdb
Sep 18 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Adam Smith" <ad*******@econ.comschreef in bericht
news:tu******************************@speakeasy.ne t...
Hello,
Been away from PostgreSQL for a while and probably needs retraining in the
basics.

How do I close a database? Can't even find it in the Manual
Presuming you want to close _client_ psql, try \q

HansH

Sep 18 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.