mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fix \h SELECT to not show SELECT INTO.
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
*
|
||||
* Copyright 2000 by PostgreSQL Global Development Group
|
||||
*
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.30 2000/05/12 16:13:44 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.31 2000/05/26 15:47:18 momjian Exp $
|
||||
*/
|
||||
#include "postgres.h"
|
||||
#include "help.h"
|
||||
@ -300,6 +300,9 @@ helpSQL(const char *topic)
|
||||
"Description: %s\n"
|
||||
"Syntax:\n%s\n\n",
|
||||
QL_HELP[i].cmd, QL_HELP[i].help, QL_HELP[i].syntax);
|
||||
/* If we have an exact match, exit. Fixes \h SELECT */
|
||||
if (strcasecmp(topic, QL_HELP[i].cmd) == 0)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user