Opened 15 years ago
Closed 14 years ago
#2557 closed enhancement (fixed)
Update feature via update (PG driver)
Reported by: | bishop | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | OGR PG |
Cc: |
Description
While update feature using SetFeatureViaInsert. This function delete row and insert new one, but if the row have some relations with other table, related rows completed deleted with out creating. To prevetn this:
- Add function SetFeatureViaUpdate
The files stored in 2556 ticket
Attachments (1)
Change History (5)
comment:1 by , 15 years ago
Summary: | Update feature via update → Update feature via update (PG driver) |
---|
by , 15 years ago
Attachment: | set_feature_via_update_##2557.patch added |
---|
comment:2 by , 15 years ago
Version: | 1.5.2 → svn-trunk |
---|
comment:3 by , 14 years ago
Owner: | changed from | to
---|
comment:4 by , 14 years ago
Milestone: | → 1.7.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Proposed idea implemented in trunk in r17012 (test improved in r17013), although I didn't use the patch, but derived what is done in CreateFeatureViaInsert(). One major difference with the patch is that the patch skipped the update of empty fields. This was wrong : they must be updated with the null value instread.
Note:
See TracTickets
for help on using tickets.
add function SetFeatureViaUpdate