Fix bug #198

see https://github.com/npgsql/Npgsql/issues/198