pgsql: More cleanup after failed reduced-lock-levels-for-DDL feature.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: More cleanup after failed reduced-lock-levels-for-DDL feature. |
| Дата | |
| Msg-id | E1RHJEy-0005GX-AK@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
More cleanup after failed reduced-lock-levels-for-DDL feature. Turns out that use of ShareUpdateExclusiveLock or ShareRowExclusiveLock to protect DDL changes had gotten copied into several places that were not touched by either of Simon's original patches for the feature, and thus neither he nor I thought to revert them. (Indeed, it appears that two of these uses were committed *after* the reversion, which just goes to show that git merging is no panacea.) Change these places to use AccessExclusiveLock again. If we ever manage to resurrect that feature, we're going to have to think a bit harder about how to keep lock level usage in sync for DDL operations that aren't within the AlterTable infrastructure. Two of these bugs are only in HEAD, but one is in the 9.1 branch too. Alvaro found one of them, I found the other two. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/dff178f8017e4412d14f131e4c3b5f5b385c5598 Modified Files -------------- src/backend/catalog/toasting.c | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера