cartodb
cartodb copied to clipboard
[sc161683] Bump sql extension to 0.37.2
This pull request has been linked to Shortcut Story #161683: Duplicate key value on cdb_tablemetadata table after INSERT or COPY from due to CDB_TableMetadata_Trigger.
This was blocked due to the a Jenkins task not working in staging. However, after fixing it, we have decided not to move forward with this upgrade, due to the maintenance status of CARTO 2. And because we have no occurrences in the last 60 days.
So, I've reinstalled the version 0.37.1 in the staging environment (adding 0.37.2 to the UPGRADABLE in the Makefile in a temp branch to generate the upgrade path).
If in the future we need to re-open this, we would probably want to change the approach to use ON CONFLICT clause, like in this example.