Add support for data change delta tables

PavelTurk <pavelturk2000@gmail.com>

From: PavelTurk <pavelturk2000@gmail.com>
To: pgsql-general@lists.postgresql.org
Date: 2024-01-15T10:00:19Z
Lists: pgsql-general
Hello all,

Currently PostgreSQL doesn't support data change delta tables. For example, it doesn't support this type of query:

SELECT * FROM NEW TABLE (
     INSERT INTO phone_book
     VALUES ( 'Peter Doe', '555-2323' )
) AS t

PostgreSQL has RETURNING that provides only a subset of this functionality.

So I suggest to add support for data change delta tables. Because this feature is more powerful and it is included
in the SQL Standard.

Best regards, Pavel