I have GDAL 1.9.1 in QGIS and 1.9.0 in PostGIS. I will try latest version later, I need to finish my work and have last few days - no time for testing :) But I hope that it will resolve my issue. Maybe this ticket has something common with this issue 
<a href="http://trac.osgeo.org/gdal/ticket/4678">http://trac.osgeo.org/gdal/ticket/4678</a>.<div><br></div><div>Jakub<br><br><div class="gmail_quote">2012/8/23 Bborie Park <span dir="ltr"><<a href="mailto:bkpark@ucdavis.edu" target="_blank">bkpark@ucdavis.edu</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What version of GDAL are you using?  There was a fix for the GDAL driver<br>
in GDAL -trunk that resolved issues I was having with in QGIS display.<br>
<br>
If you've compiled your own GDAL, I do recommend running GDAL trunk for<br>
all the fixes.<br>
<br>
-bborie<br>
<div><div class="h5"><br>
On 08/23/2012 09:03 AM, Jakub Hettler wrote:<br>
> Hi all,<br>
> I have a weird problem with PostGIS raster and I think GDAL driver<br>
><br>
> I upload my image into database with<br>
><br>
> raster2pgsql -C -N -e -Y -F -s 4326 -t 256x256  -l 2,4 myRaster | psql -d<br>
> test -U postgres<br>
><br>
> My original image is here<br>
> <a href="https://skydrive.live.com/?cid=a61d00de178d6e45&id=A61D00DE178D6E45%21311&sff=1" target="_blank">https://skydrive.live.com/?cid=a61d00de178d6e45&id=A61D00DE178D6E45%21311&sff=1</a><br>
><br>
> everything is ok now, but I would like to see my image in QGIS or use<br>
> gdal_translate and there is a problem I expect the same, because QGIS uses<br>
> gdal_translate.<br>
><br>
> with gdal_translate as gdal_translate -of PNG  "PG:host=localhost<br>
> dbname='test' user='postgres' password=''pass' schema='public'<br>
> table=prehl500_zr mode=2" C:\users\jakub\desktop\somefile.png<br>
><br>
> I get this<br>
> <a href="https://skydrive.live.com/?cid=a61d00de178d6e45&id=A61D00DE178D6E45%21312&sff=1" target="_blank">https://skydrive.live.com/?cid=a61d00de178d6e45&id=A61D00DE178D6E45%21312&sff=1</a><br>
><br>
> There are some missing tiles, but I said ok, there are some empty data in<br>
> my database.<br>
><br>
> I try to use large objects to export one of the missing tiles directly from<br>
> DB<br>
><br>
> SELECT oid, lowrite(lo_open(oid, 131072), png) As num_bytes<br>
>  FROM<br>
>  ( VALUES (lo_create(0),<br>
>    ST_AsPNG( (select rast from prehl500_zr where rid in (14)) )<br>
>   ) ) As v(oid,png);<br>
><br>
> and then in psql<br>
><br>
> \lo_export 165836 testX.png -- the number 165836 is oid return by the first<br>
> select<br>
><br>
> and everything is ok I get the image one of the missing one in my picture<br>
> over gdal_translate.<br>
><br>
> Do you have some ideas where is the problem me, GDAL, PostGIS?<br>
><br>
> Thanks<br>
><br>
> Jakub<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> postgis-users mailing list<br>
> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Bborie Park<br>
Programmer<br>
Center for Vectorborne Diseases<br>
UC Davis<br>
530-752-8380<br>
<a href="mailto:bkpark@ucdavis.edu">bkpark@ucdavis.edu</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</font></span></blockquote></div><br></div>