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: [HACKERS] P...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 3637 of 3966
Post > Topic >>

Re: [HACKERS] Proposed patch - psql wraps at window width

by bryce2@[EMAIL PROTECTED] (Bryce Nesbitt) Apr 28, 2008 at 09:43 PM

Bruce Momjian wrote:
> I have updated the do***entation for this patch.  I consider it ready to
> apply.  I think it is as close to a middle ground as we are going to
> get.  Further adjustment will have to happen when we have more re****ts
> from the field.
I heard a pretty compelling argument to make "wrapped" part of "aligned",
and thus I think the patch  is ready to go only after adjusting the
user-facing syntax:


\pset border 2
\pset format aligned
Output format is aligned, no wrapping.

\pset format aligned autowrap
Output format is aligned, with automatic wrapping to the window width for
terminals.

\pset format aligned 80
Output format is aligned, with a target width of 80 characters.

\a
Output format is unaligned, no wrapping.
\a
Output format is aligned, with a target width of 80 characters.



If the wrapping code can't fit the column headings in the wrap width, it
gives up and produces aligned output.  To do otherwise is totally
unreadable.  Please give the patch a try, before complaining about this
particular aspect of it.



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




 7 Posts in Topic:
Re: [HACKERS] Proposed patch - psql wraps at window width
bruce@[EMAIL PROTECTED]   2008-04-28 22:11:16 
Re: [HACKERS] Proposed patch - psql wraps at window width
bryce2@[EMAIL PROTECTED]   2008-04-28 21:43:59 
Re: [HACKERS] Proposed patch - psql wraps at window width
bruce@[EMAIL PROTECTED]   2008-04-29 08:17:26 
Re: [HACKERS] Proposed patch - psql wraps at window width
alvherre@[EMAIL PROTECTED  2008-04-29 10:06:28 
Re: [HACKERS] Proposed patch - psql wraps at window width
stark@[EMAIL PROTECTED]   2008-04-29 21:17:42 
Re: [HACKERS] Proposed patch - psql wraps at window width
alvherre@[EMAIL PROTECTED  2008-04-30 18:09:05 
Re: [HACKERS] Proposed patch - psql wraps at window width
stark@[EMAIL PROTECTED]   2008-04-30 18:51:27 

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 Sep 6 15:25:40 CDT 2008.