sequence advances on failed insert

From: Matthew Terenzio <matt(at)jobsforge(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: sequence advances on failed insert
Date: 2005-04-07 23:59:52
Message-ID: 57436e812f994006f1111388d6069618@jobsforge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm noticing that a sequence is advancing even if the insertion fails.
Is this weird or expected?

Matt Terenzio

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2005-04-08 00:16:42 Re: sequence advances on failed insert
Previous Message Steve - DND 2005-04-07 21:24:15 Re: Iterate OLD/NEW columns in a trigger?