| От | Tom Lane |
|---|---|
| Тема | Re: ALTER TABLE on system catalogs |
| Дата | |
| Msg-id | 19365.1534772090@sss.pgh.pa.us обсуждение |
| Ответ на | Re: ALTER TABLE on system catalogs (Andres Freund <andres@anarazel.de>) |
| Ответы |
ALTER TABLE on system catalogs
|
| Список | pgsql-hackers |
Andres Freund <andres@anarazel.de> writes:
> On 2018-08-20 14:38:25 +0200, Peter Eisentraut wrote:
>> Do you have an alternative in mind?
> One is to just not do anything. I'm not sure I'm on board with the goal
> of changing things to make DDL on system tables more palatable.
FWIW, I agree with doing as little as possible here. I'd be on board
with Andres' suggestion of just swapping the two code stanzas so that
the no-op case doesn't error out. As soon as you go beyond that, you
are in wildly unsafe and untested territory.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера