Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60cd1f1

Browse files
committed
In psql \du, separate the role attributes by comma instead of newline,
for an arguably more pleasant display.
1 parente9984c4 commit60cd1f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/describe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
1010
*
11-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.230 2009/11/03 10:34:47 petere Exp $
11+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.231 2009/11/11 21:07:41 petere Exp $
1212
*/
1313
#include"postgres_fe.h"
1414

@@ -2238,7 +2238,7 @@ static void
22382238
add_role_attribute(PQExpBufferbuf,constchar*conststr)
22392239
{
22402240
if (buf->len>0)
2241-
appendPQExpBufferStr(buf,"\n");
2241+
appendPQExpBufferStr(buf,",");
22422242

22432243
appendPQExpBufferStr(buf,str);
22442244
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp