See NAMEDATALEN in src/include/postgres_ext.h. Note that changing thisrequires a full recompile and an initdb. I'd recommend keeping it amultiple of 4 to avoid wasting space due to alignment padding.
regards, tom lane