The \password command appears to be documented in the psql reference
page, but not included in the output of the \? command. Is there any
actual reason for that, or should I just apply the attached patch?
(which means I will apply it unless there are objections :-P)

//Magnus

Index: src/bin/psql/help.c
===================================================================
RCS file: /cvsroot/pgsql/src/bin/psql/help.c,v
retrieving revision 1.122
diff -c -r1.122 help.c
*** src/bin/psql/help.c	20 Jan 2008 21:13:55 -0000	1.122
--- src/bin/psql/help.c	26 Mar 2008 12:43:09 -0000
***************
*** 185,190 ****
--- 185,192 ----
  	fprintf(output, _("  \\unset NAME    unset (delete) internal variable\n"));
  	fprintf(output, _("  \\prompt [TEXT] NAME\n"
  				 "                 prompt user to set internal variable\n"));
+ 	fprintf(output, _("  \\password [USERNAME]\n"
+ 				 "                 securely change the password for a user\n"));
  	fprintf(output, _("  \\! [COMMAND]   execute command in shell or start interactive shell\n"));
  	fprintf(output, "\n");
  
-- 
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

Reply via email to