Skip to content

Commit 75c00b5

Browse files
authored
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.
1 parent 696617d commit 75c00b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/queries.lisp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Transform given PATHNAME into an URL at which to serve it within URL-PATH."
2121
(multiple-value-bind (flag path-list last-component file-namestring-p)
2222
(uiop:split-unix-namestring-directory-components
23-
(uiop:native-namestring
23+
(uiop:unix-namestring
2424
(uiop:enough-pathname pathname root)))
2525
(declare (ignore flag file-namestring-p))
2626
;;

0 commit comments

Comments
 (0)