Re: Altering a column type - Most efficient way

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Ow Mun Heng <Ow(dot)Mun(dot)Heng(at)wdc(dot)com>
Cc: Mario Weilguni <mweilguni(at)sime(dot)com>, Pgsql performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Altering a column type - Most efficient way
Date: 2008-07-10 13:57:56
Message-ID: 20080710135756.GD3757@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Ow Mun Heng wrote:

> This is what I see on the table
>
> NEW attypmod = -1
> OLD attypmod = 8

8 means varchar(4) which is what you said you had (4+4)
-1 means unlimited size.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2008-07-10 15:37:19 Re: how big shmmax is good for Postgres...
Previous Message Scott Marlowe 2008-07-10 12:11:47 Re: how big shmmax is good for Postgres...