| От | Alvaro Herrera |
|---|---|
| Тема | Re: Can't find not null constraint, but \d+ shows that |
| Дата | |
| Msg-id | 202404181849.6frtmajobe27@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: Can't find not null constraint, but \d+ shows that (jian he <jian.universality@gmail.com>) |
| Ответы |
Re: Can't find not null constraint, but \d+ shows that
|
| Список | pgsql-hackers |
On 2024-Apr-13, jian he wrote: > I wonder is there any incompatibility issue, or do we need to say something > about the new behavior when dropping a key column? Umm, yeah, maybe we should document it in ALTER TABLE DROP PRIMARY KEY and in the release notes to note the different behavior. > only minor cosmetic issue: > + if (unconstrained_cols) > i would like change it to > + if (unconstrained_cols != NIL) > > + foreach(lc, unconstrained_cols) > we can change to > + foreach_int(attnum, unconstrained_cols) > per commit > https://git.postgresql.org/cgit/postgresql.git/commit/?id=14dd0f27d7cd56ffae9ecdbe324965073d01a9ff Ah, yeah. I did that, rewrote some comments and refined the tests a little bit to ensure the pg_upgrade behavior is sane. I intend to get this pushed tomorrow, if nothing ugly comes up. CI run: https://cirrus-ci.com/build/5471117953990656 -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "La gente vulgar sólo piensa en pasar el tiempo; el que tiene talento, en aprovecharlo"
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера