pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PavelTurk <pavelturk2000@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Add support for data change delta tables
Date: Mon, 15 Jan 2024 12:00:19 +0200
Message-ID: <4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.com> (raw)

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





view thread (9+ messages)  latest in thread

Message-ID: <4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.com>
Permalink:  ../4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.com/
Also on:    postgresql.org/message-id/4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.com

 · 

reply

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: pavelturk2000@gmail.com
  Subject: Re: Add support for data change delta tables
  In-Reply-To: <4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.com>
  References: <4f12dcdb-6d17-22a9-14e7-c006c97f5fab@gmail.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