| От | Tom Lane |
|---|---|
| Тема | Re: Bad copy-n-paste on character conversion fix - how |
| Дата | |
| Msg-id | 5134.1115092130@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Bad copy-n-paste on character conversion fix - how ("C. Bensend" <benny@bennyvision.com>) |
| Список | pgsql-admin |
"C. Bensend" <benny@bennyvision.com> writes:
> So, just to be sure:
> 1) Start a %(&@#*(&% transaction
> 2) Set the column to NULL for all rows, undoing my stupidity
> 3) Issue the CORRECT SQL statement, and that will take care of the
> character conversion problem
> 4) COMMIT said transaction after verifying that I'm not doing
> something stupid _again_
> Is this correct?
Right.
All this thrashing will have bloated pg_proc a bit (like a factor of
three...) so you might want to do a "VACUUM FULL pg_proc" after the dust
has settled. But that's a bit on the anal-retentive side considering
that pg_proc isn't really all that big. I offer it up merely for
educational purposes.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера