change bigint column to int

From: Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: change bigint column to int
Date: 2018-11-01 10:20:52
Message-ID: CA+t6e1nSubJm8pJ4WsKpR_HHiNsLPtCLLGDzMNQLcXwhYgijkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

I want to change the column type from bigint to int to save space. By doing
so, does it include some risks ? As I see it, I should only run vacuum full
afterwards if I want to return space to the os right ?

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shreeyansh Dba 2018-11-01 11:07:11 Re: change bigint column to int
Previous Message Lalith Tenneti 2018-10-31 22:00:18 Fwd: ALTER PUBLICATION