Re: Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY |
| Дата | |
| Msg-id | 20190421193613.GA13330@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Odd behavior of partitioned ALTER TABLE ONLY ... ADD PRIMARY KEY
|
| Список | pgsql-hackers |
On 2019-Apr-21, Tom Lane wrote: > ISTM that this is a bug, not a feature: if there's any point at > all to saying ONLY in this context, it's that we're not supposed > to be doing anything as expensive as adding a new constraint to > a child partition. No? So I think that this should have failed. Hmm, yeah, this is not intentional and I agree that it shouldn't be doing this. > We need to require the partition(s) to already have attnotnull set. Sounds good to me, yes. Do you want me to see about this? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера