changing varchar limits - Mailing list pgsql-general

From Jeff Davis
Subject changing varchar limits
Date
Msg-id 200208011411.41750.list-pgsql-general@empires.org
Whole thread Raw
Responses Re: changing varchar limits
List pgsql-general
What's the easiest way to change the allowable length of a varchar attribute?

I looked in pg_attribute and noticed that the allowable length of the varchar
(+4 bytes for the actual length, presumably) was the atttypemod attribute of
the pg_attribute relation. Is it safe to change that? I would of course need
to be a superuser.

Regards,
    Jeff

pgsql-general by date:

Previous
From: Robert Treat
Date:
Subject: Re: Referential integrity doesn't work?
Next
From: "Yuriy S. Polyakov"
Date:
Subject: _return double dimension array (table) from PLpgSQL procedure