On Wednesday 14 June 2006 02:02 pm, "Alexis Palma Espinosa" <apalma@uci.cu>
thus communicated:
--> Hello everyone:
-->
-->
-->
--> We are working with serials fields and we found a problem with then: Whenwe insert in a table that has e unique
restrict,and this makes insertfails, the sequence increments anyway...¿What we can do about it? -->
-->
-->
--> We hope you can help us.....
-->
-->
-->
This is doing exactly what it is supposed to do. See the docs:
http://www.postgresql.org/docs/7.4/static/functions-sequence.html