What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?

Поиск
Список
Период
Сортировка
От Ron
Тема What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?
Дата
Msg-id a4465ae0-574a-1727-fcdd-1dac49b874c0@gmail.com
обсуждение исходный текст
Ответы Re: What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-admin
AWS RDS Postgresql 12.10


We've got tables with columns of data type NUMERIC(38,0) which are a legacy from an Oracle migration.

Besides what's mentioned in https://www.postgresql.org/docs/12/ddl-alter.html#id-1.5.4.8.10, what happens internally when I run:
ALTER TABLE foo ALTER COLUMN bar TYPE BIGINT;

I'm thinking mostly of record fragmentation.

--
Angular momentum makes the world go 'round.

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

Предыдущее
От: Pascal CROZET
Дата:
Сообщение: pg 12 \if unwanted message
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?