Lists: | pgsql-bugs |
---|
From: | duncanmgillis(at)gmail(dot)com |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #13615: Bug in json_populate_record(). |
Date: | 2015-09-11 16:07:15 |
Message-ID: | 20150911160715.325.390@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 13615
Logged by: Duncan Gillis
Email address: duncanmgillis(at)gmail(dot)com
PostgreSQL version: 9.4.4
Operating system: Ubuntu 13.04; Ubuntu 14.04
Description:
Getting error when populating a record that contains a JSON object with the
same name as a column of the table.
Example: https://gist.github.com/dgillis/2df7e7c78818ca1f7cd3
From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | duncanmgillis(at)gmail(dot)com |
Cc: | "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org> |
Subject: | Re: BUG #13615: Bug in json_populate_record(). |
Date: | 2015-09-11 18:31:55 |
Message-ID: | CAKFQuwbuK5djwwBSpFefhKqAbN3MeXc+cQbetPkjnKMZ7SJTmQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
On Fri, Sep 11, 2015 at 12:07 PM, <duncanmgillis(at)gmail(dot)com> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 13615
> Logged by: Duncan Gillis
> Email address: duncanmgillis(at)gmail(dot)com
> PostgreSQL version: 9.4.4
> Operating system: Ubuntu 13.04; Ubuntu 14.04
> Description:
>
> Getting error when populating a record that contains a JSON object with the
> same name as a column of the table.
>
> Example: https://gist.github.com/dgillis/2df7e7c78818ca1f7cd3
Using 9.3 & json you cannot even get it to try working on a nested
object...
As an aside, for this trivial an amount of code - and most code for the
matter - having the mailing list message be self-contained is a worthy goal
to achieve.
David J.