Sorry to waste everyone' time: I just hadn't close the file handles and presumably the data wasn't flushed. Duh. Egg on face. Llew
pgsql-interfaces by date:
Соглашаюсь с условиями обработки персональных данных