Last modified: 2014-11-19 11:55:33 UTC
Created attachment 10875 [details] 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.
seems to be related or duplicate Bug 34855 https://bugzilla.wikimedia.org/show_bug.cgi?id=34855
Expected to be solved by [0]. [0] https://github.com/SemanticMediaWiki/SemanticMediaWiki/pull/638