Re: Using ENUM with huge NAMEDATALEN
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: "David Andersen" <david(at)andersen(dot)gs>
- Cc: pgsql-performance(at)postgresql(dot)org
- Subject: Re: Using ENUM with huge NAMEDATALEN
- Date: Sat, 26 Jul 2008 17:44:24 -0400
- Message-id: <4191.1217108664@sss.pgh.pa.us> <text/plain>
"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