From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: nwalls@kyledavidgroup.com
Subject: BUG #15907: JSON Select Issue
Date: Mon, 15 Jul 2019 20:17:13 +0000
Message-ID: <15907-563cacfdfab77205@postgresql.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, nwalls@kyledavidgroup.com
Subject: Re: BUG #15907: JSON Select Issue
In-Reply-To: <15907-563cacfdfab77205@postgresql.org>
References: <15907-563cacfdfab77205@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox