? Pending

User tests: Successful: Unsuccessful:

avatar richard67
richard67
30 May 2020

Pull Request for Issue # .

Summary of Changes

Fix syntax error for PostgreSQL databases in update SQL script.

See also https://stackoverflow.com/questions/7869592/how-to-do-an-update-join-in-postgresql.

Testing Instructions

Update a clean and current 3.10-dev to latest 4.0-dev using a PostgreSQL database and a self made update package for reproducing the issue, or the one built for this PR for testing the fix.

Expected result

Update succeeds,

Actual result

ERROR: syntax error at or near "INNER" at character 29
STATEMENT: UPDATE "j3ux0_history" AS h INNER JOIN "j3ux0_content_types" AS c ON h.ucm_type_id = c.type_id SET h.item_id = CONCAT(c.type_alias, ".", h.item_id);

Documentation Changes Required

None.

avatar richard67 richard67 - open - 30 May 2020
avatar richard67 richard67 - change - 30 May 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 May 2020
Category Postgresql SQL Administration com_admin
avatar wilsonge wilsonge - change - 30 May 2020
Labels Added: ?
avatar wilsonge wilsonge - change - 30 May 2020
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2020-05-30 19:39:47
Closed_By wilsonge
avatar wilsonge wilsonge - close - 30 May 2020
avatar wilsonge wilsonge - merge - 30 May 2020
avatar wilsonge
wilsonge - comment - 30 May 2020

Thanks!

Add a Comment

Login with GitHub to post a comment