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

Commit bf523f9

Browse files
committed
Add comment about literal strings in our syntax not being translated in
psql.
1 parent e39a3df commit bf523f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/bin/psql/describe.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
1010
*
11-
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.178 2008/07/14 22:51:48 momjian Exp $
11+
* $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.179 2008/07/14 23:13:04 momjian Exp $
1212
*/
1313
#include "postgres_fe.h"
1414

@@ -1007,6 +1007,7 @@ describeOneTableDetails(const char *schemaname,
10071007
if (verbose)
10081008
{
10091009
char *storage = PQgetvalue(res, i, 5);
1010+
/* these strings are literal in our syntax, so not translated. */
10101011
printTableAddCell(&cont, (storage[0]=='p' ? "plain" :
10111012
(storage[0]=='m' ? "main" :
10121013
(storage[0]=='x' ? "extended" :

0 commit comments

Comments
 (0)