Supponendo che da
in realtà intendi UPDATE righe esistenti in table2 :
UPDATE table2 t2
SET the_geom = t1.the_geom
FROM table1 t1
WHERE t2.address = t1.address
AND t2.the_geom IS DISTINCT FROM t1.the_geom; -- avoid empty updates
Risposta correlata:
Supponendo anche che l'address la colonna ha UNIQUE valori.
Dettagli per UPDATE nel manuale
.