Last modified: 2006-09-05 02:06:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 7236 - Installation with PostgreSQL fails during creation of tables
Installation with PostgreSQL fails during creation of tables
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All Linux
: Normal blocker (vote)
: ---
Assigned To: Sven Klemm
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2006-09-04 19:02 UTC by Sven Klemm
Modified: 2006-09-05 02:06 UTC (History)
1 user (show)

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

Fixes the typo (775 bytes, patch)
2006-09-04 19:04 UTC, Sven Klemm

Description Sven Klemm 2006-09-04 19:02:33 UTC
There is a typo in the installation script for PostgreSQL.

Warning: pg_query() []: Query failed: ERROR: syntax error
at or near "ctype" at character 278 in
/var/www-ssl/ on line 386
A database error has occurred Query: UPDATE mediawiki_version SET
mw_version='1.8alpha', pg_version='PostgreSQL 8.1.4 on i486-pc-linux-gnu,
compiled by GCC cc (GCC) 4.1.2 20060729 (prerelease) (Debian 4.1.1-10)',
pg_user='sven', mw_schema = 'mediawiki', ts2_schema = 'public', pg_port='5432',
pg_dbname='wikitest' ctype = 'C' WHERE type = 'Creation' Function: Error: 1
ERROR: syntax error at or near "ctype" at character 278 

#0 /var/www-ssl/
DatabasePostgres->reportQueryError('ERROR: syntax ...', 1, 'UPDATE mediawik...',
'', false) 
#1 /var/www-ssl/
Database->query('UPDATE mediawik...') 
#2 /var/www-ssl/
#3 {main}
Comment 1 Sven Klemm 2006-09-04 19:04:55 UTC
Created attachment 2314 [details]
Fixes the typo
Comment 2 Greg Sabino Mullane 2006-09-05 02:06:03 UTC
Fixed in subversion 16400.

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