Re: Disruptive corruption of data during an update

Поиск
Список
Период
Сортировка
От Alan Hodgson
Тема Re: Disruptive corruption of data during an update
Дата
Msg-id 2213145.zEHI0nePpR@skynet.simkin.ca
обсуждение исходный текст
Ответ на Re: Disruptive corruption of data during an update  (Binand Sethumadhavan <binand@gmx.net>)
Список pgsql-novice
On Thursday, March 29, 2012 05:03:03 PM Binand Sethumadhavan wrote:
> What I typically do is to attach "where 1 = 0" to inhibit a query from
> making any changes, if I find an error in a multiline query and do not
> want to Control-C out of psql.

It is also a good idea to always always do a "begin" before doing any manual
update, and only commit changes if it looks like it did the right thing.


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

Предыдущее
От: ennio
Дата:
Сообщение: Re: Disruptive corruption of data during an update
Следующее
От: "Moon, James"
Дата:
Сообщение: How to successfully create a new function?