pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ronald tabada <rtabada@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Crosstab limitation...
Date: Sat, 1 Dec 2007 11:47:23 +0800
Message-ID: <29b0500c0711301947w312866d0i27139c6b759b88bf@mail.gmail.com> (raw)

Good day... I'm new in postgresql and I used PostgreSQL 8.2. I tried
generating a query that can convert rows into columns. I was
happy when I discovered the crosstab function. But when I tried
producing reports with more than 17 columns it displayed the following
error message:

ERROR: invalid return type
SQL state: 42601
Detail: Query-specified return tuple has 39 columns but crosstab returns 17.

Can anyone help me? How can I use crosstab w/ more than 17 columns?

view thread (2+ messages)  latest in thread

Message-ID: <29b0500c0711301947w312866d0i27139c6b759b88bf@mail.gmail.com>
Permalink:  ../29b0500c0711301947w312866d0i27139c6b759b88bf@mail.gmail.com/
Also on:    postgresql.org/message-id/29b0500c0711301947w312866d0i27139c6b759b88bf@mail.gmail.com

 · 

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: rtabada@gmail.com
  Subject: Re: Crosstab limitation...
  In-Reply-To: <29b0500c0711301947w312866d0i27139c6b759b88bf@mail.gmail.com>

* 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