From 627324a86db97f380d0a73b60548c18015b3dd7f Mon Sep 17 00:00:00 2001
From: esha <shadrin.e@gmail.com>
Date: Mon, 31 Mar 2014 14:44:04 +0400
Subject: [PATCH] Fixed result for pg connection.

---
 test/module/net_sql.pg.result | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/module/net_sql.pg.result b/test/module/net_sql.pg.result
index d5231f0eac..a2ec1caf3e 100644
--- a/test/module/net_sql.pg.result
+++ b/test/module/net_sql.pg.result
@@ -12,7 +12,7 @@ lua dump = function(v) return box.cjson.encode(v) end
 lua connect = {}
 ---
 ...
-lua for tk in string.gmatch(os.getenv('PG'), '[^:]+') do table.insert(connect, tk) end
+lua for tk in string.gmatch(os.getenv('PG')..':', '(.-):') do table.insert(connect, tk) end
 ---
 ...
 lua c = box.net.sql.connect('pg', unpack(connect))
-- 
GitLab