From bf523f97ca8f0286c2e027caa85edcdb8558eda2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 14 Jul 2008 23:13:04 +0000 Subject: [PATCH] Add comment about literal strings in our syntax not being translated in psql. --- src/bin/psql/describe.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c index fa4420ccad..76c7f42a16 100644 --- a/src/bin/psql/describe.c +++ b/src/bin/psql/describe.c @@ -8,7 +8,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.178 2008/07/14 22:51:48 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.179 2008/07/14 23:13:04 momjian Exp $ */ #include "postgres_fe.h" @@ -1007,6 +1007,7 @@ describeOneTableDetails(const char *schemaname, if (verbose) { char *storage = PQgetvalue(res, i, 5); + /* these strings are literal in our syntax, so not translated. */ printTableAddCell(&cont, (storage[0]=='p' ? "plain" : (storage[0]=='m' ? "main" : (storage[0]=='x' ? "extended" : -- 2.11.0