This sample requires user access to PostgreSQL database which is named 'testdb' over UNIX domain socket.