Repo Added
|
Files
85
|
Badge
README BADGES
|
push
circleci
Fix automatic hstore extension creation not working on Django 4.2 or newer The following change broke the auto setup: https://github.com/django/django/commit/d3e746ace This breaks because the call to `pscygop2.extras.register_hstore` is now conditional. Before, it would be called multiple times with empty OIDS, when eventually our auto registration would kick in and psycopg2 would fetch the OIDs itself.
5 of 8 new or added lines in 1 file covered. (62.5%)
1815 of 1994 relevant lines covered (91.02%)
0.91 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|---|---|---|---|---|---|---|
0.0 | psqlextra/management/commands/pgrefreshmv.py | 49 | 20 | 0 | 20 | 0.0 | |
50.0 | psqlextra/error.py | 62 | 28 | 14 | 14 | 1.0 | |
69.05 | psqlextra/sql.py | 210 | 84 | 58 | 26 | 1.0 | |
72.73 | psqlextra/partitioning/time_strategy.py | 23 | 11 | 8 | 3 | 1.0 | |
76.09 | psqlextra/backend/base.py | 119 + 23 | 46 + 8 | 35 + 5 | 11 + 3 | 1.0 | |
77.03 | psqlextra/expressions.py | 235 | 74 | 57 | 17 | 1.0 | |
84.62 | psqlextra/indexes/unique_index.py | 18 | 13 | 11 | 2 | 1.0 | |
85.0 | psqlextra/indexes/conditional_unique_index.py | 58 | 20 | 17 | 3 | 1.0 | |
89.58 | psqlextra/management/commands/pgpartition.py | 122 | 48 | 43 | 5 | 1.0 | |
89.66 | psqlextra/backend/base_impl.py | 112 | 29 | 26 | 3 | 1.0 |