Thanks Shane. I solved taking trace of the sequence value directly in the program...it is not a good solution but it works until I find a better one!
---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
http://archives.postgresql.org/
