Adam Rose <adamr(at)eaze(dot)net> writes:
> I have tried editing /src/include/postgres_ext.h and set the NAMEDATELEN
> to 64 and it still gives me a NOTICE: truncating ...
That should work (did work, last I tried it). I suspect you failed to
complete the follow-through: full rebuild, reinstall, initdb.
regards, tom lane