sequence advances on failed insert - Mailing list pgsql-general

From Matthew Terenzio
Subject sequence advances on failed insert
Date
Msg-id 57436e812f994006f1111388d6069618@jobsforge.com
Whole thread Raw
Responses Re: sequence advances on failed insert
List pgsql-general
I'm noticing that a sequence is advancing even if the insertion fails.
Is this weird or expected?

Matt Terenzio


pgsql-general by date:

Previous
From: "Steve - DND"
Date:
Subject: Re: Iterate OLD/NEW columns in a trigger?
Next
From: David Fetter
Date:
Subject: Re: sequence advances on failed insert