RefLib

Reference library for AI

Back

postgresql_16:7.1.153.5 Compatibility

PostgreSQL 16 > Reference > SQL Commands > LOCK > Compatibility

There is no LOCK TABLE in the SQL standard, which instead uses SET TRANSACTION to specify concurrency levels on transactions. PostgreSQL supports that too; see (see postgresql_16:7.1.176) for details.

Except for ACCESS SHARE, ACCESS EXCLUSIVE, and SHARE UPDATE EXCLUSIVE lock modes, the PostgreSQL lock modes and the LOCK TABLE syntax are compatible with those present in Oracle.

Back