Ticket #354 (closed defect: fixed)
PostGIS Defect : cursor name conflict make provider crash
| Reported by: | bscott | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 3.4.0 |
| Component: | PostGIS Provider | Version: | 3.2.0 |
| Severity: | 1 | Keywords: | |
| Cc: | External ID: |
Description
the CreateCursor? function uses a fixed string + the current date and time for a unique cursor name. I have found many cases where 2 or more cursor are created in the same second, so the provider crashes with the "Cursor already exist" PostGIS message.
Adding a random number at the end of the unique cursor name calculation should resolve this issue.
Change History
Note: See
TracTickets for help on using
tickets.
