Re: [patch] Proposal for \rotate in psql - Mailing list pgsql-hackers

From David G. Johnston
Subject Re: [patch] Proposal for \rotate in psql
Date
Msg-id CAKFQuwaf7cJQE8YsOQjNaJ5+J8XFBQeB2QHuEZex=ANFxFGQiw@mail.gmail.com
Whole thread Raw
In response to Re: [patch] Proposal for \rotate in psql  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: [patch] Proposal for \rotate in psql  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Tue, Sep 8, 2015 at 1:38 PM, Robert Haas <robertmhaas@gmail.com> wrote:
On Mon, Sep 7, 2015 at 5:08 PM, David G. Johnston
<david.g.johnston@gmail.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.

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Separating Buffer LWlocks
Next
From: Robert Haas
Date:
Subject: Re: [patch] Proposal for \rotate in psql