diff options
author | Bruce Momjian <bruce@momjian.us> | 2004-07-13 02:46:21 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2004-07-13 02:46:21 +0000 |
commit | ca95bcb1d88e8c8d2edb85a14a557a42b0e8f44c (patch) | |
tree | 6ea16544cd82f9a4177e1cedc4e30e65a1b7ec09 | |
parent | 74f7630093c324f55a92fcbb40d8eb9240e51a52 (diff) | |
download | postgresql-ca95bcb1d88e8c8d2edb85a14a557a42b0e8f44c.tar.gz postgresql-ca95bcb1d88e8c8d2edb85a14a557a42b0e8f44c.zip |
Move tablespace name up on to the same line in psql \d.
-rw-r--r-- | src/bin/psql/describe.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index 29217896368..e9758ec0837 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.100 2004/07/12 20:41:13 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.101 2004/07/13 02:46:21 momjian Exp $ */ #include "postgres_fe.h" #include "describe.h" @@ -1321,11 +1321,8 @@ add_tablespace_footer(char relkind, Oid tablespace, char **footers, /* Should always be the case, but.... */ if(PQntuples(result1) > 0) { - printfPQExpBuffer(&buf, _("Tablespace:")); - footers[(*count)++] = pg_strdup(buf.data); - printfPQExpBuffer(&buf, _(" \"%s\""), - PQgetvalue(result1, 0, 0)); - + printfPQExpBuffer(&buf, _("Tablespace: \"%s\""), + PQgetvalue(result1, 0, 0)); footers[(*count)++] = pg_strdup(buf.data); } PQclear(result1); |