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>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/pg_enum.c | modified | +14 −1 |
| src/backend/utils/adt/enum.c | modified | +10 −1 |