From: hubert depesz lubaczewski <depesz@depesz.com>
To: PostgreSQL General <pgsql-general@lists.postgresql.org>
Subject: Order of rows in statement triggers NEW/OLD tables
Date: Fri, 6 May 2022 08:20:17 +0200
Message-ID: <20220506062017.GA6811@depesz.com> (raw)
Hi,
when defining statement triggers on update I can use:
REFERENCING OLD TABLE AS xxx NEW TABLE as YYY
these "pseudo" tables contain rows that were before and after.
Is the order guaranteed?
Can I assume that "first" row returned by select from xxx, will be older
version of first row returned by select from yyy?
depesz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: depesz@depesz.com
Subject: Re: Order of rows in statement triggers NEW/OLD tables
In-Reply-To: <20220506062017.GA6811@depesz.com>
References: <20220506062017.GA6811@depesz.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox