Re: tab_to_sting

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Ramesh T <rameshparnanditech(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tab_to_sting
Date: 2014-07-24 14:49:38
Message-ID: 53D11D02.5070905@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 07/24/2014 07:46 AM, Ramesh T wrote:
> i ran the \df string_agg is their
>
> but retuns like
> ERROR: function string_agg(character varying) does not exist
> LINE 2: qa.tab_to_largestringcheck(cast(string_agg(part_num)as t_var...
> ^
> HINT: No function matches the given name and argument types. You might
> need to add explicit type casts.
>
>

Please, do not top post.

Also try the query I sent you off-list:

SELECT deptno, string_agg(employee, ',')
FROM emp
GROUP BY deptno;

Forget about the t_varcha2_tab type.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ramesh T 2014-07-24 15:03:08 Re: tab_to_sting
Previous Message Kevin Grittner 2014-07-24 14:48:19 Re: Standby Server Bus 7 error