| From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, petermittere(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: please define 'statement' in the glossary |
| Date: | 2025-07-14 15:58:30 |
| Message-ID: | CAKFQuwYC-p=2pr__2Gu65HR5E=4fmiwHhacKBrxRYmB2GEqtGw@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Mon, Jul 14, 2025 at 8:45 AM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2025-07-14 16:05:06 | Re: please define 'statement' in the glossary |
| Previous Message | David G. Johnston | 2025-07-14 15:45:11 | Re: please define 'statement' in the glossary |