Re: ERROR: function crosstab(unknown, unknown) does not exist

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
Cc: Stefan Schwarzer <stefan(dot)schwarzer(at)unep(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: function crosstab(unknown, unknown) does not exist
Date: 2012-07-03 14:10:46
Message-ID: 6059.1341324646@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com> writes:
> On 07/03/2012 06:48 AM, Stefan Schwarzer wrote:
>> Now, when I launch a query which includes "crosstab()" as a postgres user, everything works fine. However, if I launch it as user XXX, it complaints:

> Are you schema qualifying the function name when you use it?
> If not, does user XXX have schema tablefunc in their search_path?

Also, does user XXX have USAGE permission on the schema containing the
extension? Usually, if you're going to stick an extension into a schema
other than public, you're going to want to grant usage on that schema to
PUBLIC, or at least more than nobody.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2012-07-03 15:58:59 seq-scan or index-scan
Previous Message Adrian Klaver 2012-07-03 14:00:44 Re: ERROR: function crosstab(unknown, unknown) does not exist