Re: Is the Halloween problem an issue in Postgres

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: guyren(at)icloud(dot)com
Cc: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Is the Halloween problem an issue in Postgres
Date: 2020-12-02 20:48:05
Message-ID: 1673519.1606942085@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

guyren(at)icloud(dot)com writes:
> The Halloween problem is that it is a challenge for the database if you’re updating a field that is also in the WHERE clause of the same query.
> I just saw a presentation from someone about how in SQL Server he recommended writing changes to a temp table and then writing them to the table as being much more efficient.

That's nonsense as far as Postgres is concerned.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2020-12-02 22:02:07 Re: Is the Halloween problem an issue in Postgres
Previous Message guyren 2020-12-02 20:27:16 Is the Halloween problem an issue in Postgres