https://bugzilla.wikimedia.org/show_bug.cgi?id=22767

qji <q...@csoma.elte.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |q...@csoma.elte.hu

--- Comment #3 from qji <q...@csoma.elte.hu> 2010-08-24 14:04:24 UTC ---
I tried upgrade from mediawiki 1.15.1 to 1.16.0.
I get this error when I run update.php:

---------------------------------------
Updating sequence names
Warning: pg_query(): Query failed: ERROR:  syntax error at or near "RENAME"
LINE 1: ...aseBase::sourceStream  */ SEQUENCE rev_rev_id_val RENAME TO ...
                                                             ^ in
/................/mediawiki-1.16.0/includes/db/DatabasePostgres.php on line 584
A database error has occurred
Query: ALTER SEQUENCE rev_rev_id_val RENAME TO revision_rev_id_seq

Function: DatabaseBase::sourceStream
Error: 1 ERROR:  syntax error at or near "RENAME"
LINE 1: ...aseBase::sourceStream  */ SEQUENCE rev_rev_id_val RENAME TO ...
---------------------------------------

My postgres version is 8.1 and I afraid, there isn't "ALTER SEQUENCE ....
RENAME" comman on 8.1 only on 8.3 (and above).

http://www.postgresql.org/docs/8.1/static/sql-altersequence.html
http://www.postgresql.org/docs/8.3/static/sql-altersequence.html

PostgreSQL 8.1 isn't really supported?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to