Last modified: 2006-12-31 15:44:10 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 8350 - Watchlist broken on PostgreSQL
Watchlist broken on PostgreSQL
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
PC Linux
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2006-12-21 12:06 UTC by Sven Klemm
Modified: 2006-12-31 15:44 UTC (History)
0 users

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

Fixes the Watchlist for PostgreSQL (966 bytes, patch)
2006-12-21 12:08 UTC, Sven Klemm

Description Sven Klemm 2006-12-21 12:06:46 UTC
Accessing the Special:Watchlist page leads to the following error:

Warning: pg_query() []: Query failed: ERROR: invalid input
syntax for type timestamp with time zone: "" in
/var/www/ on line 385
Interner Fehler

A database error has occurred Query: SELECT rc_namespace AS page_namespace,
rc_title AS page_title, rc_comment AS rev_comment, rc_cur_id AS page_id, rc_user
AS rev_user, rc_user_text AS rev_user_text, rc_timestamp AS rev_timestamp,
rc_minor AS rev_minor_edit, rc_this_oldid AS rev_id, rc_last_oldid, rc_id,
rc_patrolled, rc_new AS page_is_new,wl_notificationtimestamp FROM
watchlist,recentchanges,page WHERE wl_user=11 AND wl_namespace=rc_namespace AND
wl_title=rc_title AND rc_timestamp > '' AND rc_cur_id=page_id AND
rc_this_oldid=page_latest ORDER BY rc_timestamp DESC Function:
wfSpecialWatchlist Error: 1 ERROR: invalid input syntax for type timestamp with
time zone: ""


#0 /var/www/
DatabasePostgres->reportQueryError('ERROR: invalid...', 1, 'SELECT?? rc_na...',
'wfSpecialWatchl...', false)
#1 /var/www/
Database->query('SELECT?? rc_na...', 'wfSpecialWatchl...')
#2 /var/www/
wfSpecialWatchlist(NULL, Object(SpecialPage))
#3 /var/www/
#4 /var/www/
#5 /var/www/
MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage),
#6 /var/www/
MediaWiki->initialize(Object(Title), Object(OutputPage), Object(User),
#7 {main}
Comment 1 Sven Klemm 2006-12-21 12:08:02 UTC
Created attachment 2917 [details]
Fixes the Watchlist for PostgreSQL
Comment 2 Greg Sabino Mullane 2006-12-21 15:21:31 UTC
Applied in r18475, thanks.
Comment 3 Sven Klemm 2006-12-31 13:47:56 UTC
sorry accidentally reopened it

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