Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: Using ENUM with huge NAMEDATALEN



Hi Tom,

Thanks a lot for the tip! I will try this. You probably saved be a few days
of work!

Regards,

David

On Sat, Jul 26, 2008 at 11:44 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "David Andersen" <david(at)andersen(dot)gs> writes:
> > One of the side tables is text with length of up to 900 characters. My
> > question is whether I could build PostgreSQL with NAMEDATALEN  (which
> > controls the max size of Enums) equal to 900?
>
> I wouldn't recommend it.  Consider changing pg_enum.enumlabel to type
> TEXT instead.
>
>                        regards, tom lane
>
>
>


Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group