mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
Use the unix-namestring as the hash key for SQL queries. (#1420)
The way we manage and then fetch the SQL queries embedded in the pgloader binary we should really take the unix-namestring rather than the native-namestring. Of course, this only matters when the host OS is NOT unix, which is why this bug existed for so long.
This commit is contained in:
parent
696617d930
commit
75c00b5ff4
@ -20,7 +20,7 @@
|
||||
"Transform given PATHNAME into an URL at which to serve it within URL-PATH."
|
||||
(multiple-value-bind (flag path-list last-component file-namestring-p)
|
||||
(uiop:split-unix-namestring-directory-components
|
||||
(uiop:native-namestring
|
||||
(uiop:unix-namestring
|
||||
(uiop:enough-pathname pathname root)))
|
||||
(declare (ignore flag file-namestring-p))
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user