Re: How can I use crosstab functons in PostgreSQL 9.3?
От | Tim Clarke |
---|---|
Тема | Re: How can I use crosstab functons in PostgreSQL 9.3? |
Дата | |
Msg-id | 561FB89B.50001@manifest.co.uk обсуждение исходный текст |
Ответ на | Re: How can I use crosstab functons in PostgreSQL 9.3? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: How can I use crosstab functons in PostgreSQL 9.3?
|
Список | pgsql-general |
Looks to me like argument types possibly? The article creates various combinations of crosstab() function but you are passing in a query. Wrap your query in quotes (and then escape those within it). Then you'll be passing in a "text" type not an "unknown" as the error clearly shows. Tim Clarke On 15/10/15 15:19, Tom Lane wrote: > Rob Richardson <RDRichardson@rad-con.com> writes: >> I am trying to learn about crosstab functions in ProgreSQL 9.3, but none of the examples I’ve found are working. Iget errors claiming the functions are unknown, but when I try running CREATE EXTENSION tablefunc, I am told that its methodsalready 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 > >
В списке pgsql-general по дате отправления: