From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Mike Broers <mbroers(at)gmail(dot)com> |
Cc: | pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: alter column resize triggers question |
Date: | 2010-06-21 18:28:33 |
Message-ID: | 1277144881-sup-1782@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Excerpts from Mike Broers's message of lun jun 21 14:18:01 -0400 2010:
> I need to change service_name column to varchar(55), my plan was to backup
> the table with pg_dump, then run the below alter statement:
>
> alter table dim_product alter column service_name type varchar(55);
>
> But i am worried about the triggers because I believe that the alter table
> statement will rewrite the table and I dont want those triggers firing.
The triggers won't fire. It'll do you no harm to try it out in a toy
table, though.
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Bob Lunney | 2010-06-21 18:39:58 | Re: alter column resize triggers question |
Previous Message | Mike Broers | 2010-06-21 18:18:01 | alter column resize triggers question |