Re: Transition relations: correlating OLD TABLE and NEW TABLE

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Brent Kerby <blkerby(at)gmail(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Transition relations: correlating OLD TABLE and NEW TABLE
Date: 2018-07-07 03:36:34
Message-ID: CAKFQuwaKF-ypu1P7Kq3_uyNuYwch9EYba9Bm-G9dza_n3NJgSQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Friday, July 6, 2018, Brent Kerby <blkerby(at)gmail(dot)com> wrote:

> Of course if the table has a primary key, then this can be used, but I'm
> wondering how to handle this in the general case where a primary key might
> not exist.
>

Personally, I would consider the lack of a PK a rare and special case...I'd
handle the proposed situation by adding a big serial column to the table.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2018-07-07 04:03:41 Re: Explain buffers wrong counter with parallel plans
Previous Message Brent Kerby 2018-07-07 03:03:59 Transition relations: correlating OLD TABLE and NEW TABLE