Commit bf523f97 authored by Bruce Momjian's avatar Bruce Momjian

Add comment about literal strings in our syntax not being translated in

psql.
parent e39a3dfa
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* Copyright (c) 2000-2008, PostgreSQL Global Development Group * 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" #include "postgres_fe.h"
...@@ -1007,6 +1007,7 @@ describeOneTableDetails(const char *schemaname, ...@@ -1007,6 +1007,7 @@ describeOneTableDetails(const char *schemaname,
if (verbose) if (verbose)
{ {
char *storage = PQgetvalue(res, i, 5); char *storage = PQgetvalue(res, i, 5);
/* these strings are literal in our syntax, so not translated. */
printTableAddCell(&cont, (storage[0]=='p' ? "plain" : printTableAddCell(&cont, (storage[0]=='p' ? "plain" :
(storage[0]=='m' ? "main" : (storage[0]=='m' ? "main" :
(storage[0]=='x' ? "extended" : (storage[0]=='x' ? "extended" :
......
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