postgres.git / summary / log / commit / refs
commit 5b02174144aeb83e6780bd371ff8e3792a185eaa
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri Apr 03 23:38:19 2009 +0000
First released in: 8.4.0
Add missing help output for \ef option. Andrew Gierth
src/bin/psql/help.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index ee1524dcea5..52154540720 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.144 2009/03/25 13:15:55 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.145 2009/04/03 23:38:19 tgl Exp $
*/
#include "postgres_fe.h"
@@ -162,7 +162,7 @@ slashUsage(unsigned short int pager)
{
FILE *output;
- output = PageOutput(85, pager);
+ output = PageOutput(86, pager);
/* if you add/remove a line here, change the row count above */
@@ -175,6 +175,7 @@ slashUsage(unsigned short int pager)
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
[parent: 5d7f69936e7d]