aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-04-03 23:38:19 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-04-03 23:38:19 +0000
commit5b02174144aeb83e6780bd371ff8e3792a185eaa (patch)
tree79d96ac806e1c6f4da456a63fcf18069dbc9d6b6 /src
parent5d7f69936e7d564d83a931885f4f14df4efccfc7 (diff)
downloadpostgresql-5b02174144aeb83e6780bd371ff8e3792a185eaa.tar.gz
postgresql-5b02174144aeb83e6780bd371ff8e3792a185eaa.zip
Add missing help output for \ef option. Andrew Gierth
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/help.c5
1 files 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