Page MenuHomePhabricator

Error in getCreateTempIDTableSQL during PostgreSQL upgrade
Closed, ResolvedPublic

Description

Author: mike

Description:
workaround patch

Upgrading to 1.7.1, SMW_refreshData.php dies on a PostgreSQL syntax error:

PHP Warning:  pg_query(): Query failed: ERROR:  syntax error at or near ""t0""
LINE 1: ...teQueries 127.0.0.1 */ OR REPLACE FUNCTION create_"t0"() RET...

John Morton reported this earlier to the list along with a workaround: http://sourceforge.net/mailarchive/forum.php?thread_name=CAMhmagAUSe7wAXTw5HVX1eiOfvk4yfQgVxMizyFPQqsTaVC8JA%40mail.gmail.com&forum_name=semediawiki-devel

I did something similar and it got me through the upgrade. I attached it as a patch.


Version: unspecified
Severity: normal

Attached:

Details

Reference
bz38607

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.
StatusSubtypeAssignedTask
InvalidNone
ResolvedNone

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:56 AM
bzimport set Reference to bz38607.
bzimport added a subscriber: Unknown Object (MLST).
Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.