Re: How can I use crosstab functons in PostgreSQL 9.3?

From: Rob Richardson <RDRichardson(at)rad-con(dot)com>
To: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: How can I use crosstab functons in PostgreSQL 9.3?
Date: 2015-10-15 14:40:11
Message-ID: 67D108EDFAD3C148A593E6ED7DCB4BBD014F1A1537@RADCONWIN2K8PDC.radcon.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I should have mentioned (twice now) that I'm running under Windows 7.

RobR

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Thursday, October 15, 2015 10:19 AM
To: Rob Richardson
Cc: pgsql-general General
Subject: Re: [GENERAL] How can I use crosstab functons in PostgreSQL 9.3?

Rob Richardson <RDRichardson(at)rad-con(dot)com> writes:
> I am trying to learn about crosstab functions in ProgreSQL 9.3, but none of the examples I’ve found are working. I get errors claiming the functions are unknown, but when I try running CREATE EXTENSION tablefunc, I am told that its methods already exist.

This looks like a search_path problem. You could try "\dx+ tablefunc"
to see which schema its functions are in, then adjust your search_path to include that, or else schema-qualify the function names.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Stassiy 2015-10-15 14:40:29 Cast hstore type to bytea (and later to hex possibly)
Previous Message Rob Richardson 2015-10-15 14:39:25 Re: How can I use crosstab functons in PostgreSQL 9.3?