Skip site navigation (1) Skip section navigation (2)

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

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "Bryce Nesbitt" <bryce2(at)obviously(dot)com>, "PostgreSQL-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Proposed patch - psql wraps at window width
Date: 2008-04-30 01:17:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
"Alvaro Herrera" <alvherre(at)commandprompt(dot)com> writes:

> Bruce Momjian wrote:
>> Bryce Nesbitt wrote:
>> > Bruce Momjian wrote:
>> > > I have updated the documentation 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 reports
>> > > 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:
> I think this is what makes the most sense of what I've seen so far.
> Wrapped is a special case of aligned anyway (there's no "wrapped
> unaligned" or "wrapped HTML" for example, nor would we want there to
> be.)

Well there's no unaligned HTML or aligned unaligned either...

> I think that could be fixed easily by having the syntax be something
> like
> \pset format aligned:80
> \pset format aligned:autowrap

I suppose. It seems kind of inconvenient though, what advantage does it have?

  Gregory Stark
  Ask me about EnterpriseDB's RemoteDBA services!

In response to


pgsql-hackers by date

Next:From: Josh BerkusDate: 2008-04-30 01:20:36
Subject: Re: Protection from SQL injection
Previous:From: Gregory StarkDate: 2008-04-30 01:02:30
Subject: Re: Protection from SQL injection

pgsql-patches by date

Next:From: fouratDate: 2008-04-30 01:21:58
Subject: fourat wants to keep up with you on Twitter
Previous:From: Andreas 'ads' ScherbaumDate: 2008-04-30 00:06:30
Subject: Documentation: ALTER ROLE - no password

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group