Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't cast PGSQL bigint PKs to text on queries.
PostgreSQL bigint primary keys are no longer cast to text on queries/updates. Internally we keep a FID map between the real database value and the internal QGIS feature ID. Thus, we preserve the QGIS semantics of using negative FIDs for newly added features, while still allowing users to edit attributes whose PKs are bigint non-positive.
- Loading branch information
Showing
4 changed files
with
53 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters