Select for update - Mailing list pgsql-general

From Havasvölgyi Ottó
Subject Select for update
Date
Msg-id 006b01c59366$a54dbe10$b800a8c0@OTTO
Whole thread Raw
In response to Rules vs Triggers  (Randall Perry <rgp@systame.com>)
Responses Re: Select for update
Re: Select for update
List 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



pgsql-general by date:

Previous
From: Michelle Konzack
Date:
Subject: Re: Welcome to the pgsql-general list!
Next
From: Richard Huxton
Date:
Subject: Re: Select for update