Re: Dynamic table with variable number of columns

From: nkunkov(at)optonline(dot)net
To: Bruno Wolff III <bruno(at)wolff(dot)to>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dynamic table with variable number of columns
Date: 2006-07-14 19:34:47
Message-ID: e1c8c65e2ad00.44b7b997@optonline.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thank you very much.
Much appreciated.
NK

----- Original Message -----
From: Bruno Wolff III <bruno(at)wolff(dot)to>
Date: Friday, July 14, 2006 2:50 pm
Subject: Re: Dynamic table with variable number of columns

> On Wed, Jul 12, 2006 at 13:38:34 -0700,
> nkunkov(at)optonline(dot)net wrote:
> > Hi,
> > Thanks again.
> > One more question. Will crosstab function work if i will not
> know the
> > number/names of columns before hand? Or I need to supply colum
> > headings?
>
> I checked a bit into this, and the actual contrib name is
> tablefunc, not
> crosstab. It provides crosstab functions for up to 4 columns, but
> it isn't
> hard to make ones that handle more columns.
>
> You can read the included readme file at:
> http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/tablefunc/README.tablefunc?rev=1.14
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gregory S. Williamson 2006-07-15 00:02:12 Re: apparent wraparound
Previous Message Reece Hart 2006-07-14 19:30:48 Re: apparent wraparound