Andrei Ivanov <andrei.ivanov@ines.ro> writes:
> It's an almost clean build (it has
> http://gppl.terminal.ru/hier-Pg7.4-0.3.tar.gz in it)...
That's your problem, then; it makes incompatible changes in stored
rules. The patch should have included a catversion.h change to force
you to initdb after applying it.
regards, tom lane