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

Commitca95bcb

Browse files
committed
Move tablespace name up on to the same line in psql \d.
1 parent74f7630 commitca95bcb

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/bin/psql/describe.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.100 2004/07/12 20:41:13 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.101 2004/07/13 02:46:21 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"describe.h"
@@ -1321,11 +1321,8 @@ add_tablespace_footer(char relkind, Oid tablespace, char **footers,
13211321
/* Should always be the case, but.... */
13221322
if(PQntuples(result1)>0)
13231323
{
1324-
printfPQExpBuffer(&buf,_("Tablespace:"));
1325-
footers[(*count)++]=pg_strdup(buf.data);
1326-
printfPQExpBuffer(&buf,_(" \"%s\""),
1327-
PQgetvalue(result1,0,0));
1328-
1324+
printfPQExpBuffer(&buf,_("Tablespace: \"%s\""),
1325+
PQgetvalue(result1,0,0));
13291326
footers[(*count)++]=pg_strdup(buf.data);
13301327
}
13311328
PQclear(result1);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp