Parse time & execution time.
Why are you not just using a sequence?
Do you have an application which requires contiguous numbers?
--
Scott Ribe
scott_ribe(at)elevated-dev(dot)com
https://www.linkedin.com/in/scottribe/
> On Aug 13, 2018, at 4:39 PM, legrand legrand <legrand_legrand(at)hotmail(dot)com> wrote:
>
> I'm suspecting parsing time for "SELECT count(1) > 1 FROM tabpart WHERE id =
> NEW.id",