Re: please define 'statement' in the glossary - Mailing list pgsql-docs

From David G. Johnston
Subject Re: please define 'statement' in the glossary
Date
Msg-id CAKFQuwYC-p=2pr__2Gu65HR5E=4fmiwHhacKBrxRYmB2GEqtGw@mail.gmail.com
Whole thread Raw
In response to Re: please define 'statement' in the glossary  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: please define 'statement' in the glossary
List pgsql-docs
On Mon, Jul 14, 2025 at 8:45 AM David G. Johnston <david.g.johnston@gmail.com> wrote:
I would then add an example In 53.2.2.1 showing this happening using "psql -c"


Cannot readily test this presently but I wonder what the following produces:

psql -c "begin; select statement_timestamp(), transaction_timestamp(); select statement_timestamp(), transaction_timestamp(); commit; begin; select statement_timestamp(), transaction_timestamp(); commit;"

Transaction timestamp should progress while statement timestamp should not, right?

David J.

pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: please define 'statement' in the glossary
Next
From: Tom Lane
Date:
Subject: Re: please define 'statement' in the glossary