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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ERROR: function crosstab(unknown, unknown) does not exist
Дата
Msg-id 6059.1341324646@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ERROR: function crosstab(unknown, unknown) does not exist  (Adrian Klaver <adrian.klaver@gmail.com>)
Ответы Re: ERROR: function crosstab(unknown, unknown) does not exist  (Stefan Schwarzer <stefan.schwarzer@unep.org>)
Список pgsql-general
Adrian Klaver <adrian.klaver@gmail.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
launchit 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ERROR: function crosstab(unknown, unknown) does not exist
Следующее
От: Andreas Kretschmer
Дата:
Сообщение: seq-scan or index-scan