Seems that even if one can change the date style while fetching rows from a
server cursor, the date format returned by PQgetvalue() does not change in
the middle of a result set processing, which is obviously better.
So we just need to inspect the date format when opening the cursor and
stuck to that format for result set values processing.
Seb