From: Peter Eisentraut Date: Wed, 11 Nov 2009 21:07:41 +0000 (+0000) Subject: In psql \du, separate the role attributes by comma instead of newline, X-Git-Tag: REL8_5_ALPHA3~135 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=60cd1f182943448eeb662b0f73ecb985ad9cc26e;p=postgresql.git In psql \du, separate the role attributes by comma instead of newline, for an arguably more pleasant display. --- diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 3fd2b2a9712..8fd456fe34e 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -8,7 +8,7 @@ * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.230 2009/11/03 10:34:47 petere Exp $ + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.231 2009/11/11 21:07:41 petere Exp $ */ #include "postgres_fe.h" @@ -2238,7 +2238,7 @@ static void add_role_attribute(PQExpBuffer buf, const char *const str) { if (buf->len > 0) - appendPQExpBufferStr(buf, "\n"); + appendPQExpBufferStr(buf, ", "); appendPQExpBufferStr(buf, str); }