Update to whole table
Update to whole table
От:
Yambu <hyambu@gmail.com>
Дата:
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
Re: Update to whole table
От:
Steve Midgley <science@misuse.org>
Дата:
On Thu, Jun 3, 2021, 6:43 AM Yambu <hyambu@gmail.com> wrote:
HelloIf i runupdate 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