Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3d8820a

Browse files
committed
Remove un-needed quotes from psql \d DEFAULT display.
1 parent 69cf5ab commit 3d8820a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bin/psql/psql.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.123 1998/01/05 02:21:22 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.124 1998/01/05 13:56:05 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -645,11 +645,9 @@ tableDesc(PsqlSettings *pset, char *table, FILE *fout)
645645
strcat(descbuf, PQgetvalue(res, i, 0));
646646
if (!(res2 = PSQLexec(pset, descbuf)))
647647
return -1;
648-
strcat(type_str," default '");
648+
strcat(type_str," default ");
649649
strncat(type_str, PQgetvalue(res2, 0, 0), 32-strlen(type_str));
650650
type_str[32] = '\0';
651-
strncat(type_str, "'", 32-strlen(type_str));
652-
type_str[32] = '\0';
653651
}
654652
fprintf(fout,"%-32.32s |", type_str);
655653

0 commit comments

Comments
 (0)