I have customer and address tables.
customer
address
Query:
SELECT * FROM addresses a, customers b WHERE a.id = b.id
this is Postgres UPDATE JOIN format:
UPDATE address SET cid = customers.id FROM customers WHERE customers.id = address.id
Here's the other variations: http://mssql-to-postgresql.blogspot.com/2007/12/updates-in-postgresql-ms-sql-mysql.html