]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/db/postgresql/lib/lib.factor
factor: words -> split-words, lines -> split-lines, fix errors
[factor.git] / basis / db / postgresql / lib / lib.factor
index 10db939b2a0f121457253c04474ebad5bc06635c..f1c5d1e47c3093ed86cad965703aa07f0b3227b1 100644 (file)
@@ -21,7 +21,7 @@ IN: db.postgresql.lib
 
 : (postgresql-error-message) ( handle -- str )
     PQerrorMessage
-    "\n" split [ [ blank? ] trim ] map unlines ;
+    "\n" split [ [ blank? ] trim ] map join-lines ;
 
 : postgresql-error-message ( -- str )
     db-connection get handle>> (postgresql-error-message) ;