33 *
44 * Copyright (c) 2000-2010, PostgreSQL Global Development Group
55 *
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 $
77 */
88#include "postgres_fe.h"
99
@@ -2106,6 +2106,7 @@ printTableAddHeader(printTableContent *const content, const char *header,
21062106 * Otherwise, the cell will not be translated.
21072107 *
21082108 * If mustfree is true, the cell string is freed by printTableCleanup().
2109+ * Note: Automatic freeing of translatable strings is not supported.
21092110 */
21102111void
21112112printTableAddCell (printTableContent * const content ,const char * cell ,
@@ -2128,7 +2129,7 @@ printTableAddCell(printTableContent *const content, const char *cell,
21282129
21292130#ifdef ENABLE_NLS
21302131if (translate )
2131- * content -> header = _ (* content -> header );
2132+ * content -> cell = _ (* content -> cell );
21322133#endif
21332134
21342135if (mustfree )