Merge lp:~wgrant/launchpad/psycopg2-2.7 into lp:launchpad
Proposed by
William Grant
Status: | Merged |
---|---|
Merged at revision: | 18651 |
Proposed branch: | lp:~wgrant/launchpad/psycopg2-2.7 |
Merge into: | lp:launchpad |
Diff against target: |
63 lines (+9/-9) 3 files modified
constraints.txt (+1/-1) lib/lp/code/model/branchnamespace.py (+4/-4) lib/lp/code/model/gitnamespace.py (+4/-4) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/psycopg2-2.7 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+345500@code.launchpad.net |
Commit message
Upgrade to psycopg2 2.7.4. Needed to build against PostgreSQL 10.
Description of the change
I had to flip the order of the bzr/git namespace validation functions so they didn't end up sending NULs to the DB which now crashes psycopg2. Previously the string would apparently be truncated by postgres, which probably means this upgrade causes other paths to crash with ValueErrors in the face of bad input, but better than what we had before.
To post a comment you must log in.