From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?
Date: Thu, 28 Jul 2022 10:13:10 -0500
Message-ID: <a4465ae0-574a-1727-fcdd-1dac49b874c0@gmail.com> (raw)
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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: What to watch out for when ALTERing NUMERIC(38,0) to BIGINT?
In-Reply-To: <a4465ae0-574a-1727-fcdd-1dac49b874c0@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox