Commit 3d8820a3 authored by Bruce Momjian's avatar Bruce Momjian

Remove un-needed quotes from psql \d DEFAULT display.

parent 69cf5abe
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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) ...@@ -645,11 +645,9 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
strcat(descbuf, PQgetvalue(res, i, 0)); strcat(descbuf, PQgetvalue(res, i, 0));
if (!(res2 = PSQLexec(pset, descbuf))) if (!(res2 = PSQLexec(pset, descbuf)))
return -1; return -1;
strcat(type_str," default '"); strcat(type_str," default ");
strncat(type_str, PQgetvalue(res2, 0, 0), 32-strlen(type_str)); strncat(type_str, PQgetvalue(res2, 0, 0), 32-strlen(type_str));
type_str[32] = '\0'; type_str[32] = '\0';
strncat(type_str, "'", 32-strlen(type_str));
type_str[32] = '\0';
} }
fprintf(fout,"%-32.32s |", type_str); fprintf(fout,"%-32.32s |", type_str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment