From: scott.marlowe <scott.marlowe@ihs.com>
To: Andrei Verovski <andreil1@mail.starlett.lv>
Cc: pgsql-php@postgresql.org
Subject: Re: UPDATE sql question
Date: Mon, 28 Jul 2003 12:16:12 -0600 (MDT)
Message-ID: <Pine.LNX.4.33.0307281215490.19755-100000@css120.ihs.com> (raw)
In-Reply-To: <B570E5C0-C0DA-11D7-9233-000A959C9730@starlett.lv>
On Mon, 28 Jul 2003, Andrei Verovski wrote:
> Hi,
>
> What exactly will happen if UPDATE sql statement instructs to update
> some columns with the same values as already in the database? Will
> Postgres update only different values or it will simply modify all
> columns listed in UPDATE sql?
It will update the columns. Which means lots of dead tuples, which means
vacuuming.
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-php@postgresql.org
Cc: scott.marlowe@ihs.com, andreil1@mail.starlett.lv
Subject: Re: UPDATE sql question
In-Reply-To: <Pine.LNX.4.33.0307281215490.19755-100000@css120.ihs.com>
References: <B570E5C0-C0DA-11D7-9233-000A959C9730@starlett.lv> <Pine.LNX.4.33.0307281215490.19755-100000@css120.ihs.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