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

PostgreSQL: Difference between revisions

From MoodleDocs
(ja link)
Line 26: Line 26:
* [http://www.postgresql.org PostgreSQL home page]
* [http://www.postgresql.org PostgreSQL home page]
* [[Arguments in favour of PostgreSQL]]
* [[Arguments in favour of PostgreSQL]]
* [http://moodle.org/mod/forum/view.php?id=45 Using Moodle databases forum]
* [http://moodle.org/mod/forum/view.php?id=45 Using Moodle - Databases forum]
* [http://en.wikipedia.org/wiki/Postgres Wikipedia article on PostgerSQL]
* [http://en.wikipedia.org/wiki/Postgres Wikipedia article on PostgerSQL]
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=49195 Upgrading to 1.6 and may need to switch to PostgreSQL] forum discussion
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=49195 Upgrading to 1.6 and may need to switch to PostgreSQL] forum discussion

Revision as of 10:42, 26 November 2009

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 as "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."

See also