More stuff in PostGISRasterRasterBand::IRasterIO method. The improvement when the number of tiles is 1 it not working. Commented.