aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/psql.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-01-05 13:56:05 +0000
committerBruce Momjian <bruce@momjian.us>1998-01-05 13:56:05 +0000
commit3d8820a364b3627b537b44b9cb23dc40a3c84144 (patch)
treed7401508b2f66e8b4f5f47c5171f2c1c6a79b27e /src/bin/psql/psql.c
parent69cf5abe10ee0304ec8c9d8d6b9c3ee8118ac4f0 (diff)
downloadpostgresql-3d8820a364b3627b537b44b9cb23dc40a3c84144.tar.gz
postgresql-3d8820a364b3627b537b44b9cb23dc40a3c84144.zip
Remove un-needed quotes from psql \d DEFAULT display.
Diffstat (limited to 'src/bin/psql/psql.c')
-rw-r--r--src/bin/psql/psql.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c
index f15740f73b1..72c35182d4d 100644
--- a/src/bin/psql/psql.c
+++ b/src/bin/psql/psql.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.123 1998/01/05 02:21:22 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.124 1998/01/05 13:56:05 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -645,11 +645,9 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
strcat(descbuf, PQgetvalue(res, i, 0));
if (!(res2 = PSQLexec(pset, descbuf)))
return -1;
- strcat(type_str," default '");
+ strcat(type_str," default ");
strncat(type_str, PQgetvalue(res2, 0, 0), 32-strlen(type_str));
type_str[32] = '\0';
- strncat(type_str, "'", 32-strlen(type_str));
- type_str[32] = '\0';
}
fprintf(fout,"%-32.32s |", type_str);