Use a pid file.
Add a man page.
Don't error out when compiling the client against PostgreSQL 9.5.
Improve feature detection for fgetln, only used on MacOSX.
Update the debian packaging.