The solution is:
My blob oid was very big.
I had to cast to (float) the oid parameter of pg_loopen.
Now works OK.
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
