Hello
attached patch allows raising exception from _PG_init function as wasdiscussed before.
regardsPavel Stehule