patch for small omission in psql \? help

Started by Andrew Gierthalmost 17 years ago2 messages
#1Andrew Gierth
andrew@tao11.riddles.org.uk
1 attachment(s)

Happened to notice this while looking for something else; the \ef
command appears to be missing from \? output. Suggested patch below.

--
Andrew (irc:RhodiumToad)

Attachments:

psql.patchtext/x-patchDownload
Index: src/bin/psql/help.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/bin/psql/help.c,v
retrieving revision 1.144
diff -c -r1.144 help.c
*** src/bin/psql/help.c	25 Mar 2009 13:15:55 -0000	1.144
--- src/bin/psql/help.c	3 Apr 2009 04:16:51 -0000
***************
*** 175,180 ****
--- 175,181 ----
  
  	fprintf(output, _("Query Buffer\n"));
  	fprintf(output, _("  \\e [FILE]              edit the query buffer (or file) with external editor\n"));
+ 	fprintf(output, _("  \\ef [FUNCNAME]         edit a function definition with external editor\n"));
  	fprintf(output, _("  \\p                     show the contents of the query buffer\n"));
  	fprintf(output, _("  \\r                     reset (clear) the query buffer\n"));
  #ifdef USE_READLINE
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andrew Gierth (#1)
Re: patch for small omission in psql \? help

Andrew Gierth <andrew@tao11.riddles.org.uk> writes:

Happened to notice this while looking for something else; the \ef
command appears to be missing from \? output. Suggested patch below.

Applied, thanks.

regards, tom lane