2010-08-15 18:55:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Class for handling updates to Postgres databases.
|
|
|
|
|
*
|
2010-08-21 15:53:46 +00:00
|
|
|
* @todo FIXME: Postgres should use sequential updates like Mysql, Sqlite
|
2010-08-15 18:55:08 +00:00
|
|
|
* and everybody else. It never got refactored like it should've. For now,
|
|
|
|
|
* just wrap the old do_postgres_updates() in this class so we can clean up
|
|
|
|
|
* the higher-level stuff.
|
|
|
|
|
*
|
|
|
|
|
* @ingroup Deployment
|
|
|
|
|
* @since 1.17
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class PostgresUpdater extends Updater {
|
|
|
|
|
protected function getCoreUpdateList() {
|
|
|
|
|
return array();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function doUpdates() {
|
|
|
|
|
do_postgres_updates();
|
|
|
|
|
}
|
|
|
|
|
}
|