postgresでテーブルをロックする
pg_exec ($pg, "BEGIN WORK");
pg_exec ($pg, "lock table peke in share row exclusive mode");
$query = "select * from peke";
$result = pg_exec($pg, $query);
pg_exec ($pg, "COMMIT WORK");
postgresでテーブルをロックする
pg_exec ($pg, "BEGIN WORK");
pg_exec ($pg, "lock table peke in share row exclusive mode");
$query = "select * from peke";
$result = pg_exec($pg, $query);
pg_exec ($pg, "COMMIT WORK");