alvherre(at)postgresql(dot)org (Alvaro Herrera) writes:
> pg_bind_textdomain_codeset must exist only on ENABLE_NLS.
I think the previous coding, where it was defined but empty without
ENABLE_NLS, was better. As-is, you've introduced an unnecessary reason
for NLS-compiled loadable modules to fail to work with non-NLS core
backends.
regards, tom lane