PostgreSQL, often simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). It can handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users. Recent versions also provide replication of the database itself for security and scalability.
- CSE does not issue PostGreSQL accounts by default to all CSE students. If you need a PostGreSQL account, email cse-consult@buffalo.edu.
- The psql binary's --help parameter shows you the options that the psql binary accepts.
% /util/bin/psql --help
- The psql binary's -h parameter specifies the [h]ostname of the remote database server to which you are connecting.
% /util/bin/psql -h tethys
- You may also specify the remote database hostname with the PGHOST environment variable:
% setenv PGHOST tethys
% /util/bin/psql
- When you get your new account, change your default password to a password only you know:
cwmiller=> alter user cwmiller with password 'MyNewPassword123';
ALTER ROLE
- Exit with \q (backslash q) or Ctrl-d (control d).
- CSE uses PostGreSQL as the online GradVote system's data storage.
- Jan Chomicki, instructor.
- Demian Lessa, developer.
- http://en.wikipedia.org/wiki/Postgresql
- http://www.postgresql.org
- http://www.postgresql.org/docs/8.4/interactive/index.html
- http://wiki.postgresql.org/
- http://wiki.postgresql.org/wiki/Frequently_Asked_Questions
- http://gradvote.cse.buffalo.edu