Re: [patch] Proposal for \rotate in psql

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Greg Stark <stark(at)mit(dot)edu>, Daniel Verite <daniel(at)manitou-mail(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [patch] Proposal for \rotate in psql
Date: 2015-09-08 18:10:10
Message-ID: CAKFQuwaf7cJQE8YsOQjNaJ5+J8XFBQeB2QHuEZex=ANFxFGQiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 8, 2015 at 1:38 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Mon, Sep 7, 2015 at 5:08 PM, David G. Johnston
> <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> > Given the role that psql performs I do think \rotate to be the least
> > problematic choice; I concur that avoiding \pivot is desirable due to
> SQL's
> > usage.
>
> I can't agree. Rotating a matrix has a well-defined meaning, and this
> does something that is not that.
>

​Even though the input data is a table and not a matrix? Do you have an
alternative choice you'd like to defend?

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-09-08 18:13:46 Re: [patch] Proposal for \rotate in psql
Previous Message Andres Freund 2015-09-08 17:54:49 Re: Separating Buffer LWlocks