Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: psql comman...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 3866 of 4084
Post > Topic >>

Re: psql command setting

by simon@[EMAIL PROTECTED] (Simon Riggs) Jul 5, 2008 at 05:17 PM

--=-3sJ6AVSyqPpTSveyR1y9
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


On Sat, 2008-07-05 at 11:24 -0400, Tom Lane wrote:

> the remaining toggles aren't really toggles.

If it *acts* like a toggle and the help *says* its a toggle, then its
"actual toggleness" seems moot.

At the very least we should do***ent the two toggles that are already
settable, with the attached patch.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Sup****t

--=-3sJ6AVSyqPpTSveyR1y9
Content-Disposition: attachment; filename=psql_help_doc.v1.patch
Content-Type: text/x-patch; name=psql_help_doc.v1.patch; charset=utf-8
Content-Transfer-Encoding: 7bit

Index: src/bin/psql/help.c
===================================================================
RCS file: /home/sriggs/pg/REPOSITORY/pgsql/src/bin/psql/help.c,v
retrieving revision 1.129
diff -c -r1.129 help.c
*** src/bin/psql/help.c	11 Jun 2008 10:55:43 -0000	1.129
--- src/bin/psql/help.c	5 Jul 2008 12:19:00 -0000
***************
*** 228,237 ****
  	fprintf(output, _("  \\pset NAME [VALUE]  set table output option\n"
  					  "                 (NAME :=
{format|border|expanded|fieldsep|footer|null|\n"
  					  "                
numericlocale|recordsep|tuples_only|title|tableattr|pager})\n"));
! 	fprintf(output, _("  \\t             show only rows (currently %s)\n"),
  			ON(pset.popt.topt.tuples_only));
  	fprintf(output, _("  \\T [STRING]    set HTML <table> tag attributes,
or unset if none\n"));
! 	fprintf(output, _("  \\x             toggle expanded output (currently
%s)\n"),
  			ON(pset.popt.topt.expanded));
  	fprintf(output, "\n");
  
--- 228,237 ----
  	fprintf(output, _("  \\pset NAME [VALUE]  set table output option\n"
  					  "                 (NAME :=
{format|border|expanded|fieldsep|footer|null|\n"
  					  "                
numericlocale|recordsep|tuples_only|title|tableattr|pager})\n"));
! 	fprintf(output, _("  \\t [on|off]    show only rows (currently %s)\n"),
  			ON(pset.popt.topt.tuples_only));
  	fprintf(output, _("  \\T [STRING]    set HTML <table> tag attributes,
or unset if none\n"));
! 	fprintf(output, _("  \\x [on|off]    toggle expanded output (currently
%s)\n"),
  			ON(pset.popt.topt.expanded));
  	fprintf(output, "\n");
  

--=-3sJ6AVSyqPpTSveyR1y9
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

--=-3sJ6AVSyqPpTSveyR1y9--
 




 4 Posts in Topic:
psql command setting
simon@[EMAIL PROTECTED]   2008-07-05 13:36:07 
Re: psql command setting
tgl@[EMAIL PROTECTED] (T  2008-07-05 11:24:12 
Re: psql command setting
simon@[EMAIL PROTECTED]   2008-07-05 17:17:29 
Re: psql command setting
alvherre@[EMAIL PROTECTED  2008-08-29 11:52:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 20:26:17 CDT 2008.