pgsql: Check length of enum literals on definition and input to make

Started by Andrew Dunstanabout 19 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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

Modified Files:
--------------
pgsql/src/backend/catalog:
pg_enum.c (r1.1 -> r1.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/catalog/pg_enum.c.diff?r1=1.1&r2=1.2)
pgsql/src/backend/utils/adt:
enum.c (r1.1 -> r1.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/enum.c.diff?r1=1.1&r2=1.2)