Re: Updating 457 rows in a table

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Updating 457 rows in a table
Дата
Msg-id eb6da387-986c-bed6-3e17-21bed5da872@appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Updating 457 rows in a table  (Alban Hertroys <haramrae@gmail.com>)
Список pgsql-general
On Mon, 20 May 2024, Alban Hertroys wrote:

> That aside, while you’re not absolutely 100% definitely sure that an
> UPDATE or DELETE statement is going to do exactly what you intended, and
> for good measure if you are, wrapping such statements in a transaction
> allows you to ROLLBACK to get back to the state that you started from.

Alban,

That's excellent advice and I'll do so in all future data manipulation
scripts. In the current situation psql did return that 457 rows had been
updated.

Much appreciated,

Rich



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

Предыдущее
От: Erik Wienhold
Дата:
Сообщение: Re: How to update upper-bound of tstzrange ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump and not MVCC-safe commands