Note: You are currently viewing documentation for Moodle 2.2. Up-to-date documentation for the latest stable version is available here: PostgreSQL.

PostgreSQL

From MoodleDocs
Revision as of 14:09, 30 May 2006 by Howard Miller (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

PostgreSQL is one of the two databases that is fully supported by Moodle. A database is a required component of any Moodle installation.

PostgreSQL describes itself thus:

PostgreSQL is an object-relational database management system (ORDBMS) based on POSTGRES, Version 4.2, developed at the University of California at Berkeley Computer Science Department. POSTGRES pioneered many concepts that only became available in some commercial database systems much later.

PostgreSQL is an open-source descendant of this original Berkeley code. It supports a large part of the SQL standard and offers many modern features:

  • complex queries
  • foreign keys
  • triggers
  • views
  • transactional integrity
  • multiversion concurrency control

Also, PostgreSQL can be extended by the user in many ways, for example by adding new

  • data types
  • functions
  • operators
  • aggregate functions
  • index methods
  • procedural languages

And because of the liberal license, PostgreSQL can be used, modified, and distributed by everyone free of charge for any purpose, be it private, commercial, or academic.