I need to update a single attribute of a large table of point data with a result of a spatial join (point on area operation) on a polygon table. I'm using the below query but wondering if this is the best performance approach I could take. I have geometry indexes on both tables and this is a one time operation.
update point_table pt set name = po.name
from polygon_table po where ST_contains(po.geom, pt.geom);