<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Olivier Courtin wrote:
<blockquote
cite="mid:1bf4a33f0904210902x2b51a6b1rc2a3e28851d04c30@mail.gmail.com"
type="cite">Next, I don't think we need to generate a random id when
idgen =<br>
<blockquote type="cite">
<pre wrap=""> Generatenew or when idgen = ReplaceDuplicate. For my part I would take
the id of the last feature in the layer and increment it by one. I think
it will be simpler to manage.
</pre>
</blockquote>
<pre wrap=""><!---->
Yes for serial PostgreSQL type it could be done quite easily,
but what about other data types ? :
- varchar one
- (long) int one
- > with collision risk on several simultaneous requests
On the other hand a reliable random id generator ANSI compliant
could be a pain to implement, i took any suggestion ! :)
</pre>
</blockquote>
Olivier,<br>
<br>
You got me on this one. I didn't think about that... <span
class="moz-smiley-s2"><span> :-( </span></span><br>
<br>
Norm<br>
</body>
</html>