Opened 10 years ago
Last modified 10 years ago
#11512 closed enhancement
update_sequence should use the column name when selecting the max value — at Initial Version
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 0.12.6 |
Component: | database backend | Version: | |
Severity: | normal | Keywords: | postgesql |
Cc: | Jun Omae | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
To support the case that the primary key column has a name other than id
, update_sequence
for the Postgres backend should be modified to use the specified column name when selecting the MAX
value: branches/1.0-stable/trac/db/postgres_backend.py@12500:258#L255.
The patch was proposed by Olemis Lang in bh:#708.
Note:
See TracTickets
for help on using tickets.