Rafa de la Torre
81d0f338cf
Create HASH indices on the temp tables
2019-05-27 15:18:13 +02:00
Rafa de la Torre
951f257654
Simplify code by using ON COMMIT DROP
...
Simplify code by relying on automatic removal of temp tables with ON
COMMIT DROP, so that we avoid the messy EXCEPTION management.
2019-05-27 12:02:12 +02:00
Rafa de la Torre
f461faf0b6
Simplify udpate: use * instead of column list
2019-05-27 11:56:41 +02:00
Rafa de la Torre
a8d57abda6
Update changed rows
2019-05-27 11:54:38 +02:00
Rafa de la Torre
982ddfdeff
Helper function to generate UPDATE SET clause
2019-05-27 11:31:07 +02:00
Rafa de la Torre
da4331ac78
WIP: A function to sync tables
...
It assumes there's a cartodb_id column in both source and target. It
does not perform unnecessary actions. It respects augmented columns in
target table, if they exist. It is meant to be efficient.
2019-05-24 18:38:28 +02:00