[TinyOWS-dev] [tinyows] #15: Insert transaction doesn't return id of features in the response
Normand Savard
nsavard at mapgears.com
Tue Apr 21 12:38:50 EST 2009
Olivier Courtin wrote:
> Next, I don't think we need to generate a random id when idgen =
>> 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.
>>
>
>
> 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 ! :)
>
>
Olivier,
You got me on this one. I didn't think about that... :-(
Norm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-dev/attachments/20090421/eb9eb0de/attachment.htm
More information about the TinyOWS-dev
mailing list