Re: Update to whole table

Поиск
Список
Период
Сортировка
От Steve Midgley
Тема Re: Update to whole table
Дата
Msg-id CAJexoSJuP8hQqE_SSMkSLve9-SpXD27NUT3NHCskD+BDj=VtzQ@mail.gmail.com
обсуждение исходный текст
Ответ на Update to whole table  (Yambu <hyambu@gmail.com>)
Список pgsql-sql


On Thu, Jun 3, 2021, 6:43 AM Yambu <hyambu@gmail.com> wrote:
Hello

If i run

update table set status_id=2 ;

 and i stop it before it completes, will there be any updates done on some records?

regards

No. Postgres is acid which includes atomic - mean every statement either updates everything in its scope or nothing. Here's a link with a nice description: https://stackoverflow.com/questions/51728571/postgresql-acid-compliance 

В списке pgsql-sql по дате отправления:

Предыдущее
От: Yambu
Дата:
Сообщение: Update to whole table
Следующее
От: Yambu
Дата:
Сообщение: function INPUT as whole table