Hi, Joost Kraaijeveld wrote:
Does PostgreSQL lock the entire row in a table if I update only 1 column?
Yes. In PostgreSQL, an update is much like a delete + insert. A concurrent transaction will still see the old row. Thus the lock only prevents other writing transactions, not readers.
Regards Markus P.S.: please do not cross post such questions. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match