BUG #15907: JSON Select Issue - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15907: JSON Select Issue
Date
Msg-id 15907-563cacfdfab77205@postgresql.org
Whole thread Raw
Responses Re: BUG #15907: JSON Select Issue  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15907
Logged by:          Nathan Walls
Email address:      nwalls@kyledavidgroup.com
PostgreSQL version: 9.6.11
Operating system:   Windows 10
Description:

I have a table that has a column named 'metadata' of type JSON. When I try
to select metadata as part of a group with other columns, I've found that
metadata has to be the first column selected. Otherwise I'll get an error
saying "Not connected to the server or the connection to the server has been
closed," even though a modal will still inform me the query was executed
successfully with N number of rows affected. For example:
SELECT metadata,kind FROM events; --works just fine
SELECT kind,metadata FROM events; --fails


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Assertion fails with POSTGIS
Next
From: "Saul, Jean Paolo"
Date:
Subject: [BUG?] Missing OID column from pl/pgsql record