From: Magnus Hagander Date: Sun, 22 Jan 2012 21:43:26 +0000 (+0100) Subject: Include full name, now that we have it from the new auth system... X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=906b92e0ef01601393c9c9ff5fbdab9e65924e2c;p=pggit.git Include full name, now that we have it from the new auth system... Noted by Stefan Kaltenbrunner --- diff --git a/gitdump.py b/gitdump.py index fbe93f6..0fede92 100644 --- a/gitdump.py +++ b/gitdump.py @@ -59,7 +59,7 @@ class AuthorizedKeysDumper(object): curs.execute(""" SELECT name,anonymous,web,description,initialclone,tabwidth, COALESCE( - (SELECT min(first_name) FROM repository_permissions AS rp + (SELECT min(first_name || ' ' || last_name) FROM repository_permissions AS rp LEFT JOIN auth_user AS au ON au.username=rp.userid WHERE rp.level=2 AND rp.repository=r.repoid),''), CASE WHEN EXISTS