pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pacquet@newsguy.com
Cc: pgsql-sql@postgresql.org
Subject: Re: "Inverting" a table, OLAP-style
Date: Mon, 16 Sep 2002 10:55:32 -0400
Message-ID: <27213.1032188132@sss.pgh.pa.us> (raw)
In-Reply-To: <200209132318.QAA09972@newsguy.com>
References: <200209132318.QAA09972@newsguy.com>

pacquet@newsguy.com writes:
> ... I know we could use Pivot Tables in
> Excel, or otherwise do it on the client, but the highest-leverage solution
> would be to present this abstraction in the server.

Joe Conway's contrib/tablefunc module (new for 7.3) has a "crosstab"
facility that I think might do what you want.  Perhaps you'd like to
snag a 7.3 beta copy and try it out.

			regards, tom lane



view thread (2+ messages)

Message-ID: <27213.1032188132@sss.pgh.pa.us>
Permalink:  ../27213.1032188132@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/27213.1032188132@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pacquet@newsguy.com
  Subject: Re: "Inverting" a table, OLAP-style
  In-Reply-To: <27213.1032188132@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox