| From: | Rodrigo De León <rdeleonp(at)gmail(dot)com> |
|---|---|
| To: | pgsql-sql(at)postgresql(dot)org |
| Subject: | Re: record fields as columns in reports |
| Date: | 2007-06-28 15:26:12 |
| Message-ID: | a55915760706280826r3e009214g65a5b315441ab775@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
On 6/28/07, Reinoud van Leeuwen <reinoud(dot)v(at)n(dot)leeuwen(dot)net> wrote:
> So the table I store the errormessages in has a format like this:
>
> CREATE TABLE repport_history
> (
> rundate date,
> errordescription character varying(255),
> number bigint
> )
>
>
> And I would like an output with something like:
>
> 06/22 06/23 06/24 06/25
> ERROR1 10 10 9 8
> ERROR2 250 300 220 200
> ERROR3 4 2 0 0
1. See contrib/tablefunc.
2. PivotTables (OpenOffice.org or Excel).
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andreas Joseph Krogh | 2007-06-28 15:30:35 | Re: Is index usage in LIKE-queries with UTF-8 implemented in PG-8.3 ? |
| Previous Message | Andrew Sullivan | 2007-06-28 15:21:51 | Re: record fields as columns in reports |