pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #15907: JSON Select Issue
2+ messages / 2 participants
[nested] [flat]

* BUG #15907: JSON Select Issue
@ 2019-07-15 20:17  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2019-07-15 20:17 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: nwalls@kyledavidgroup.com

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #15907: JSON Select Issue
@ 2019-07-16 04:49  Michael Paquier <michael@paquier.xyz>
  parent: PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2019-07-16 04:49 UTC (permalink / raw)
  To: nwalls@kyledavidgroup.com; pgsql-bugs@lists.postgresql.org

On Mon, Jul 15, 2019 at 08:17:13PM +0000, PG Bug reporting form wrote:
> 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

It would be surprising if this is a bug.  Do you have a reproducible,
self-contained test case that shows the problem?  Perhaps you have an
issue with your client application?
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2019-07-16 04:49 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15 20:17 BUG #15907: JSON Select Issue PG Bug reporting form <noreply@postgresql.org>
2019-07-16 04:49 ` Michael Paquier <michael@paquier.xyz>

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