g
Это как бы DBTS последней транзакции, менявшей страницу, где данная строка лежит.
Судя по описанию. То есть если меняется соседняя запись, данная тоже помечается как "возможно изменённая".
Size: a a a
g
ВП
g
g
АА
АА
g
АА
g
АА
IZ
АА
IZ
АА
АА
IZ
АА
АА
g
ДМ
CREATE OR REPLACE FUNCTION public.increment_updated_times()
RETURNS trigger
LANGUAGE plpgsql
AS $function$
begin
if
old.contact_name= new.contact_name and
old.company = new.company and
old.contact_group = new.contact_group and
old.email = new.email and
old.account_name = new.account_name and
old.job_title = new.job_title then
new.updated_times = old.updated_times+1;
return new
END;
$function$