projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9984c4
)
In psql \du, separate the role attributes by comma instead of newline,
author
Peter Eisentraut
<peter_e@gmx.net>
Wed, 11 Nov 2009 21:07:41 +0000
(21:07 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Wed, 11 Nov 2009 21:07:41 +0000
(21:07 +0000)
for an arguably more pleasant display.
src/bin/psql/describe.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/describe.c
b/src/bin/psql/describe.c
index 3fd2b2a97127117880210b83dd5339ce9a50ffa8..8fd456fe34e096b83b0c9494a41026b796f4fae6 100644
(file)
--- 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.23
0 2009/11/03 10:34:47
petere Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.23
1 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);
}