Select for update

Поиск
Список
Период
Сортировка
От Havasvölgyi Ottó
Тема Select for update
Дата
Msg-id 006b01c59366$a54dbe10$b800a8c0@OTTO
обсуждение исходный текст
Ответ на Rules vs Triggers  (Randall Perry <rgp@systame.com>)
Ответы Re: Select for update  (Richard Huxton <dev@archonet.com>)
Re: Select for update  (Michael Fuhr <mike@fuhr.org>)
Список 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 по дате отправления:

Предыдущее
От: Michelle Konzack
Дата:
Сообщение: Re: Welcome to the pgsql-general list!
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Select for update