Last modified: 2014-04-26 08:39:34 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66472, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64472 - update.php fails for PostgreSQL when creating sequences
update.php fails for PostgreSQL when creating sequences
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.24rc
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: postgres
  Show dependency treegraph
 
Reported: 2014-04-26 07:04 UTC by Tiziano Müller
Modified: 2014-04-26 08:39 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tiziano Müller 2014-04-26 07:04:53 UTC
I get the following when running update.php on an empty database (or a database loaded with ./maintenance/postgres/tables.sql):

# php maintenance/update.php  --quick
MediaWiki 1.24alpha Updater

Going to run database updates for mediawiki_test
Depending on the size of your database this may take a while!
...skipping: 'mwuser' table doesn't exist yet.
...skipping: 'mwuser' table doesn't exist yet.
...skipping: 'pagecontent' table doesn't exist yet.
Creating sequence logging_log_id_seq
Creating sequence page_restrictions_pr_id_seq
Creating sequence filearchive_fa_id_seq
PHP Fatal error:  Call to a member function defaultValue() on a non-object in /var/www/dev-zero.ch/htdocs/mediawiki-core/includes/installer/PostgresUpdater.php on line 681

already present in 1.22.5
Comment 1 Tiziano Müller 2014-04-26 08:39:34 UTC
Sorry, PEBCAK, should have created the tables properly first.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links