| test case attached - when you run it see the output of the getting sequence number. Please note that this is for local postgresql data base as I found it to be an issue there. Tested with 5.0.9 version as this is the one we currently use. We do plan to upgrade to 5.1.4 soon, will test it with that version as well. |