pgsql: /*semi*/final for efficiency.
pgsql: Docs tuned.
Doc fixes.
Fix some more docs.
Significantly faster encoding of integers > INT32_MAX.

This version is about 200 times faster.
The buffer_error_program only takes one argument.

This could probably be handled better.