Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com> writes:
> pg_dump binary-upgrade fail with segmentation fault for type without
> element.
Ooops.
> Looking further into code I found that rather then fetching typrelid, we can
> use the already stored typrelid from TypeInfo structure.
Agreed. Patch committed, thanks!
regards, tom lane