BUG #17106: Renaming system types is possible and it potentially leads to a crash

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17106: Renaming system types is possible and it potentially leads to a crash
Дата
Msg-id 17106-1bce73f14df54e7e@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #17106: Renaming system types is possible and it potentially leads to a crash  (Michael Paquier <michael@paquier.xyz>)
Re: BUG #17106: Renaming system types is possible and it potentially leads to a crash  (Francisco Olarte <folarte@peoplecall.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17106
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
PostgreSQL version: 13.3
Operating system:   Ubuntu 20.04
Description:

While dropping system types is prohibited (say, you can't DROP TYPE void),
renaming is not. So the following commands lead to an inevitable crash.
ALTER TYPE void RENAME TO void_void;
CREATE TABLE void(id int);
CREATE EXTENSION pg_stat_statements;
SELECT pg_stat_statements_reset();

(Superuser rights required for this, though.)


В списке pgsql-bugs по дате отправления:

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: BUG #17103: WAL segments are not removed after exceeding max_slot_wal_keep_size
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: BUG #17103: WAL segments are not removed after exceeding max_slot_wal_keep_size