Re: Increasing Table Column Size in 7.0 Syntax - Mailing list pgsql-general

From oberpwd@anubis.network.com (Wade D. Oberpriller)
Subject Re: Increasing Table Column Size in 7.0 Syntax
Date
Msg-id 200011011753.LAA04213@truck.network.com
Whole thread Raw
In response to Increasing Table Column Size in 7.0 Syntax  ("J. Atwood" <jatwood@bwanazulia.com>)
List pgsql-general
This requires you to change NAMEDATALEN in src/include/postgres_ext.h.

Note this requires a recompile, initdb, createdb, etc.

Also note that databases with different NAMEDATALEN's can't interoperate.

Wade
>
> Hello,
>
> Looking at the docs for pgsql I have only found stuff on altering a table
> for default and renaming a column but nothing on changing the size. I want
> to increase the size of a field from 2048 to 4096.
>
> What is the syntax for this?
>
> Thanks,
> J
>
>


pgsql-general by date:

Previous
From: Igor Roboul
Date:
Subject: Re: Increasing Table Column Size in 7.0 Syntax
Next
From: Richard Poole
Date:
Subject: Re: Newbie Question