pg, map `char` and `name` types as string. [dark-panda & Yves Senn]

Closes #10802.