3
3
*
4
4
* Copyright (c) 2000-2010, PostgreSQL Global Development Group
5
5
*
6
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.123 2010/03/0120:55:45 heikki Exp $
6
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.124 2010/03/0121:27:26 heikki Exp $
7
7
*/
8
8
#include "postgres_fe.h"
9
9
@@ -2106,6 +2106,7 @@ printTableAddHeader(printTableContent *const content, const char *header,
2106
2106
* Otherwise, the cell will not be translated.
2107
2107
*
2108
2108
* If mustfree is true, the cell string is freed by printTableCleanup().
2109
+ * Note: Automatic freeing of translatable strings is not supported.
2109
2110
*/
2110
2111
void
2111
2112
printTableAddCell (printTableContent * const content ,const char * cell ,
@@ -2128,7 +2129,7 @@ printTableAddCell(printTableContent *const content, const char *cell,
2128
2129
2129
2130
#ifdef ENABLE_NLS
2130
2131
if (translate )
2131
- * content -> header = _ (* content -> header );
2132
+ * content -> cell = _ (* content -> cell );
2132
2133
#endif
2133
2134
2134
2135
if (mustfree )