Last modified: 2010-05-15 15:33:26 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 T2405, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 405 - IP block fails on PostgreSQL
IP block fails on PostgreSQL
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2004-09-07 01:57 UTC by Brion Vibber
Modified: 2010-05-15 15:33 UTC (History)
1 user (show)

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


Description Brion Vibber 2004-09-07 01:57:58 UTC
Another timestamp type mismatch.

Warning: pg_query() []: Query failed: ERROR: invalid input
syntax for type timestamp: "20040907015658" in
/var/www/html/gres/includes/DatabasePostgreSQL.php on line 96
A database error has occurred Query: INSERT INTO ipblocks
VALUES ('','0','1','for being a big
jerk','20040907015658','0','20040907070000') Function: Database::insertArray
Error: 1 ERROR: invalid input syntax for type timestamp: "20040907015658"


    * DatabasePostgreSQL.php line 370 calls wfDebugDieBacktrace()
    * Database.php line 297 calls DatabasePostgreSQL::reportQueryError()
    * Database.php line 760 calls DatabasePostgreSQL::query()
    * Database.php line 714 calls DatabasePostgreSQL::insert()
    * DatabasePostgreSQL.php line 208 calls DatabasePostgreSQL::insertArray()
    * Block.php line 207 calls DatabasePostgreSQL::insertArray()
    * SpecialBlockip.php line 166 calls Block::insert()
    * SpecialBlockip.php line 23 calls IPBlockForm::doSubmit()
    * SpecialPage.php line 257 calls wfSpecialBlockip()
    * SpecialPage.php line 172 calls SpecialPage::execute()
    * index.php line 93 calls SpecialPage::executePath()

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