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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy