When PGresult::EMPTY_QUERY is returned? I'm asking because of 'SELECT * 
FROM customer LIMIT 0' cause PGresult::TUPLES_OK.
I have thought that 'LIMIT 0' clause determines empty result, didn't it?

Szymon