2 -- File ID: 2d79727a-fafb-11dd-9a1e-000475e441b9
4 BEGIN ISOLATION LEVEL SERIALIZABLE;
6 \echo ================ Update name and dist ================
8 UPDATE logg SET name = clname(coor), dist = cldist(coor)
10 SELECT lastname FROM stat
11 WHERE lastupdate IS NOT NULL
12 ORDER BY lastupdate DESC LIMIT 1
17 \echo ================ Update wayp.numpoints ================
18 UPDATE wayp SET numpoints = numpoints(name);