Re: Upgrade questions - Mailing list pgsql-general

From John R Pierce
Subject Re: Upgrade questions
Date
Msg-id 4F5FF513.1070702@hogranch.com
Whole thread Raw
In response to Re: Upgrade questions  (Carson Gross <carsongross@gmail.com>)
Responses Re: Upgrade questions
List pgsql-general
On 03/13/12 6:10 PM, Carson Gross wrote:
> As a follow up, is the upgrade from integer to bigint violent?  I
> assume so: it has to physically resize the column on disk, right?
>

I think we've said several times, any ALTER TABLE ADD/ALTER COLUMN like
that will cause every single tuple (row) of the table to be updated.
when rows are updated, the new row is written, then the old row is
flagged for eventual vacuuming.


--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast


pgsql-general by date:

Previous
From: Carson Gross
Date:
Subject: Re: Upgrade questions
Next
From: Joseph Shraibman
Date:
Subject: restore_command is not running on my standby