<br>Normand,<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why not let Postgresql manage that? I mean insert a feature with no id at all and retrieve the last inserted value from the layer sequence table. This is what I did to make Alexandre Tinyows version works. What do you think? </blockquote>
<div><br>Yes i'm agree on that !<br>I've begin to wrote some code on this base (not yet commited)<br><br>But it will only be good if there's a PostgreSQL sequence related to<br>a PK column.<br><br>So on the other case, i (yet) don't have magical thought to handle that<br>
(except a random generator)<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> If you want I could send you what I did.</blockquote>
<div><br>Yes please ! :)<br> <br>--<br>Olivier<br></div></div>