- Sep 30, 2015
-
-
Stefano Zacchiroli authored
Overall, we can use LANGUAGE sql only in 6 cases (vs 17 functions that remains plpgsql). This is in large part due to the fact that LANGUAGE sql stored procedures cannot non-existent tables, and most notably temporary tables. Closes T55.
-
Stefano Zacchiroli authored
the functions no longer fail with internal errors (due to "insert into ... strict"), but rather return NULL in those cases, because no match has been found.
-
Stefano Zacchiroli authored
include upgrade script from 16
-
Stefano Zacchiroli authored
The function is parametric in the type of entries to be added (file/dir/rev). Get rid of the previous 3 (99% overlapping) functions swh_directory_{file,rev,dir}_entry_add functions. Make storage.py use the new function.
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
The triplet of None should be sandboxed to db.py
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
Remove the needless yield
-
Antoine R. Dumont authored
-
Antoine R. Dumont authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
by uniting on contents that appear to be missing when looking at a single checksum algorithm. This is semantically equivalent to the previous approach, but allows to exploit single-column indexes; which are non-redundant, smaller, and hence more likely to be used. This is the "metro ligne 6" approach.
-
- Sep 29, 2015
-
-
Stefano Zacchiroli authored
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
-
Nicolas Dandrimont authored
This currently uses pickle which breaks the msgpack + dict "abstraction" we settled on. This should be fixed eventually.
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
-
Antoine R. Dumont authored
with unified api
-
Nicolas Dandrimont authored
Closes T44.
-
- Sep 28, 2015
-
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Nicolas Dandrimont authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
-
Stefano Zacchiroli authored
This removes tables directory_list_{file,dir,rev}, and add corresponding arrays {dir,file,rev}_entries to the directory table, which was just a set up to now. Indexes migrated accordingly.
-
Nicolas Dandrimont authored
-