Re: resizing a varchar column on 8.3.8 - Mailing list pgsql-general

From Jon Hoffman
Subject Re: resizing a varchar column on 8.3.8
Date
Msg-id AANLkTik1kxP7C0jXhZaqDnJojQXe21k241cgu6F8dbZu@mail.gmail.com
Whole thread Raw
In response to Re: resizing a varchar column on 8.3.8  (Emi Lu <emilu@encs.concordia.ca>)
Responses Re: resizing a varchar column on 8.3.8  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Hi,

I was able to do this without any issues, though I don't have any views.

- Jon

On Thu, Jan 27, 2011 at 9:52 AM, Emi Lu <emilu@encs.concordia.ca> wrote:
On 01/15/2011 04:22 PM, Jon Hoffman wrote:
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?

I did not see any feedbacks about this topic.

I need confirmation that it is safe to do this! Personally, I feel that it is specially useful when there are many view dependencies. Update from data dictionary, all views will be updated automatically, right?

Thanks a lot!
--
Lu Ying

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: Adding ddl audit trigger
Next
From: Scott Marlowe
Date:
Subject: Re: resizing a varchar column on 8.3.8