Fixed psql \h SELECT - Mailing list pgsql-hackers

From Bruce Momjian
Subject Fixed psql \h SELECT
Date
Msg-id 200005261542.LAA25356@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
I added the following test to psql/help.c:
               /* if we have an exact match, exit, fixes \h SELECT */               if (strcasecmp(topic,
QL_HELP[i].cmd)== 0)                   break;
 

This will exit the help loop if an exact match has already been found. 
This prevents \h select from showing SELECT INTO help.  Peter, hope you
are OK with this.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Berkeley DB...
Next
From: Karel Zak
Date:
Subject: possible bug in RI?