diff --git a/trytond/backend/postgresql/database.py b/trytond/backend/postgresql/database.py index 2fced6208e..7a8675c3ba 100644 --- a/trytond/backend/postgresql/database.py +++ b/trytond/backend/postgresql/database.py @@ -359,7 +359,7 @@ class Cursor(CursorInterface): def search_path(self): if self._search_path is None: self.execute('SHOW search_path') - path, = self.fetchone().split(',') + path, = self.fetchone() special_values = { 'user': self.current_user, }