PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15907
PG Version9.6.11
OSWindows 10
Opened2019-07-15 20:17:13+00
Reported byNathan Walls
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15907
Logged by:          Nathan Walls
Email address:      (redacted)
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

Messages

DateAuthorSubject
2019-07-15 20:17:13+00PG Bug reporting formBUG #15907: JSON Select Issue
2019-07-16 04:49:56+00Michael PaquierRe: BUG #15907: JSON Select Issue