What is a savepointLevel ?

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: What is a savepointLevel ?
Date: 2019-03-15 05:18:28
Message-ID: 5C8B35A4.5000404@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

What exactly is a savepointLevel?

They seem to have been there for 15 years[1], diligently copied from
parent transactions to children, fastidiously checked to avoid crossing
a level on rollback or release, but does anything ever change the level
from its initial value? I'm drawing a blank[2].

Regards,
-Chap

[1]
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blame;f=src/backend/access/transam/xact.c;h=fd5d6b5;hb=90cb9c3#l93

[2]
https://git.postgresql.org/gitweb/?p=postgresql.git&a=search&h=0516c61b&st=grep&s=savepointLevel

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message M Tarkeshwar Rao 2019-03-15 05:19:48 Facing issue in using special characters
Previous Message Kyotaro HORIGUCHI 2019-03-15 05:15:17 Re: Introduce timeout capability for ConditionVariableSleep