mockpg.py header added
when psql output isn't connected to a tty it negotiates with the backend differenty, fixed