insert_after_eval_xlock.sql 265 B

123456789
  1. /* syntax version 1 */
  2. /* postgres can not */
  3. /* multirun can not */
  4. USE plato;
  5. $s1 = (select count(*) from Output with xlock);
  6. $s2 = (select max(key) from Output with xlock);
  7. insert into Output with truncate
  8. select EvaluateExpr($s1) as a, EvaluateExpr($s2) as b;