Select for update

From: Havasvölgyi Ottó <h(dot)otto(at)freemail(dot)hu>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Select for update
Date: 2005-07-28 11:22:31
Message-ID: 006b01c59366$a54dbe10$b800a8c0@OTTO
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Is it normal that when I select for update a record, but I don't select all
the fields, that the contents of fields not selected will be deleted:

create table pidtest(pid integer, szoveg text) without oids;

select pid from pistest where pid>5 for update;

After committing (autocommit), the contents of the szoveg field for the
locked rows will be erased.

PostgreSQL 8.0.3 WinXP

Regards,
Otto

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2005-07-28 11:33:57 Re: Select for update
Previous Message Michelle Konzack 2005-07-28 09:24:59 Re: Welcome to the pgsql-general list!