aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1996-10-14 00:33:47 +0000
committerBruce Momjian <bruce@momjian.us>1996-10-14 00:33:47 +0000
commit1a865b8338222b416554a27cbb033df9590fa23e (patch)
tree833ea3ceb9246cdcd7ca615e9cf676a587daf462
parent81f2f81960a673126aed3599fa38d0142342cb48 (diff)
downloadpostgresql-1a865b8338222b416554a27cbb033df9590fa23e.tar.gz
postgresql-1a865b8338222b416554a27cbb033df9590fa23e.zip
Change display of char(5) to (bp)char 5 so psql \d can
distinguish between char and char(1).
-rw-r--r--src/bin/psql/psql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c
index af54d7c85e5..98d678290d9 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.22 1996/10/09 00:15:44 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.23 1996/10/14 00:33:47 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -340,7 +340,7 @@ tableDesc (PsqlSettings *ps, char *table)
printf ("%6s |", "var" );
}
else if (strcmp(rtype, "bpchar") == 0) {
- printf ("%-32.32s |", "char");
+ printf ("%-32.32s |", "(bp)char");
printf ("%6i |", rsize > 0 ? rsize - 4 : 0 );
}
else if (strcmp(rtype, "varchar") == 0) {