Content-Length: 284036 | pFad | http://github.com/postgrespro/postgres_cluster/commit/ca95bcb1d88e8c8d2edb85a14a557a42b0e8f44c

1D Move tablespace name up on to the same line in psql \d. · postgrespro/postgres_cluster@ca95bcb · GitHub
Skip to content

Commit ca95bcb

Browse files
committed
Move tablespace name up on to the same line in psql \d.
1 parent 74f7630 commit ca95bcb

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/ca95bcb1d88e8c8d2edb85a14a557a42b0e8f44c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy