pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Joe Conway <mail@joeconway.com>
To: amr.fadly@vodafone.com
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #14024: problem in Creating pivot table
Date: Thu, 17 Mar 2016 16:23:12 -0700
Message-ID: <56EB3C60.3000904@joeconway.com> (raw)
In-Reply-To: <20160316135657.5232.46379@wrigleys.postgresql.org>
References: <20160316135657.5232.46379@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 03/16/2016 06:56 AM, amr.fadly@vodafone.com wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      14024
> Logged by:          AmrFadly
> Email address:      amr.fadly@vodafone.com
> PostgreSQL version: 9.5.0
> Operating system:   Windows 7
> Description:        
> 
> we are trying to do the example in the documentation to create pivot table
> using crosstab function, it is not working and gives the below error:
> 
> ERROR: function crosstab(unknown, unknown) does not exist
> SQL state: 42883
> Hint: No function matches the given name and argument types. You might need
> to add explicit type casts.
> Character: 15

You should not assume this is a bug until proven it is not
misconfiguration. Next time, unless you are sure, please ask for help on
the general or novice list first.

I'll bet the extension is not installed. Please run \dx from psql. If
you don't see tablefunc among the listed installed extensions, then you
need to create it.

HTH,

Joe

-- 
Crunchy Data - http://crunchydata.com
PostgreSQL Support for Secure Enterprises
Consulting, Training, & Open Source Development

Attachments:

  signature.asc (application/pgp-signature, 835B) download

view thread (3+ messages)

Message-ID: <56EB3C60.3000904@joeconway.com>
Permalink:  ../56EB3C60.3000904@joeconway.com/
Also on:    postgresql.org/message-id/56EB3C60.3000904@joeconway.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: mail@joeconway.com, amr.fadly@vodafone.com
  Subject: Re: BUG #14024: problem in Creating pivot table
  In-Reply-To: <56EB3C60.3000904@joeconway.com>
  References: <20160316135657.5232.46379@wrigleys.postgresql.org> <56EB3C60.3000904@joeconway.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