Friday, April 16, 2010

Using PostgreSQL

Creating a database
createdb -U postgre_user database_name
[assumes postgre bin location has been added to the system path]

Starting the command line client
psql -U postgre_user

Changing database within psql
postgres=# \c mydatabase

No comments:

Post a Comment