*
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.89 2008/04/04 18:00:25 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/mainloop.c,v 1.90 2008/04/05 03:40:15 tgl Exp $
*/
#include "postgres_fe.h"
#include "mainloop.h"
/* A request for help? Be friendly and give them some guidance */
if (pset.cur_cmd_interactive && query_buf->len == 0 &&
pg_strncasecmp(line, "help", 4) == 0 &&
- (line[4] == '\0' || line[4] == ';' || isspace(line[4])))
+ (line[4] == '\0' || line[4] == ';' || isspace((unsigned char) line[4])))
{
free(line);
- puts("You are using psql, the command-line interface to PostgreSQL.");
- puts("Enter SQL commands, or type \\? for a list of backslash options.");
- puts("Use \\h for SQL command help.");
- puts("Use \\q to quit.");
+ puts(_("You are using psql, the command-line interface to PostgreSQL."));
+ puts(_("Enter SQL commands, or type \\? for a list of backslash options."));
+ puts(_("Use \\h for SQL command help."));
+ puts(_("Use \\q to quit."));
+ fflush(stdout);
continue;
}