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?