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:
Dimitri Fontaine 2022-08-18 14:16:58 +02:00 committed by GitHub
parent 696617d930
commit 75c00b5ff4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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))
;;