Re: Using row_to_json with %ROWTYPE ? - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Using row_to_json with %ROWTYPE ?
Date
Msg-id 54D4039E.6070206@aklaver.com
Whole thread Raw
In response to Re: Using row_to_json with %ROWTYPE ?  (Tim Smith <randomdev4+postgres@gmail.com>)
Responses Re: Using row_to_json with %ROWTYPE ?
Re: Using row_to_json with %ROWTYPE ?
List pgsql-general
On 02/05/2015 03:25 PM, Tim Smith wrote:
>> PostgreSQL doesn't lie
>
> Well if its not lying its one big stinking bug !

In my experience Postgres does not randomly make up error messages.
Somewhere it is seeing a duplicate column.

>
> How about you tell me where you see these duplicate columns in my view
> that PostgreSQL is apparently not lying to me about  ....
>

So then this is not the problem, which moves the troubleshooting to the
function.

Have you tried the previous suggestions on modifying the function?


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Using row_to_json with %ROWTYPE ?
Next
From: Adrian Klaver
Date:
Subject: Re: Using row_to_json with %ROWTYPE ?