Check length of enum literals on definition and input to make sure they will fit in a name field and not cause syscache errors.

Andrew Dunstan <andrew@dunslane.net>

Commit: 325feaef7f46e609973360b4102c1acfc4924d72
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2007-04-02T22:14:17Z
Releases: 8.3.0
Check length of enum literals on definition and input to make sure they will fit in a name field and not cause syscache errors.

Files

PathChange+/−
src/backend/catalog/pg_enum.c modified +14 −1
src/backend/utils/adt/enum.c modified +10 −1