resizing a varchar column on 8.3.8

From: Jon Hoffman <jon(at)foursquare(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: resizing a varchar column on 8.3.8
Date: 2011-01-15 21:22:50
Message-ID: AANLkTin1E-t4HbWX8WpLcrmiTO+WumVUknZooG_bBZ5=@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I found a post with some instructions for resizing without locking up the
table, but would like to get some re-assurance that this is the best way:

http://sniptools.com/databases/resize-a-column-in-a-postgresql-table-without-changing-data

How does that affect data storage and future updates on existing rows?

The table has around 6MM rows and is very heavily queried. I'm also using
skytools londiste for replication, so I assume that I would run the resize
on the subscriber first.

Thanks for help,

Jon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Randall Smith 2011-01-15 22:52:11 Trigger Performance
Previous Message Jon Smark 2011-01-15 20:57:50 Re: Record with a field consisting of table rows