cbaines pushed a commit to branch master
in repository data-service.

commit e38db9eed95de0f286e666b630d082ddb9e263ce
Author: Christopher Baines <[email protected]>
AuthorDate: Sun Sep 20 11:11:03 2020 +0100

    Set the locale at the start of the process jobs script
    
    This might help with the odd [1] errors regarding PostgreSQL queries.
    
    1: invalid byte sequence for encoding "UTF8":
---
 scripts/guix-data-service-process-job.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/guix-data-service-process-job.in 
b/scripts/guix-data-service-process-job.in
index 3748253..995d464 100644
--- a/scripts/guix-data-service-process-job.in
+++ b/scripts/guix-data-service-process-job.in
@@ -31,6 +31,8 @@
 (setvbuf (current-output-port) 'line)
 (setvbuf (current-error-port) 'line)
 
+(setlocale LC_ALL "en_US.utf8")
+
 (debug-set! width 256)
 
 (match (command-line)

Reply via email to