Re: [SQL] Updating jsonb rows - Mailing list pgsql-sql

From Michael Moore
Subject Re: [SQL] Updating jsonb rows
Date
Msg-id CACpWLjPhwbSC-BJ3dNrcAFu1FYH4rrJ7n-0t+FzacOJ68SeisA@mail.gmail.com
Whole thread Raw
In response to Re: [SQL] Updating jsonb rows  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: [SQL] Updating jsonb rows  (Michael Moore <michaeljmoore@gmail.com>)
List pgsql-sql
Probably the solution is "don't try to use JSON as temp tables for anything but very small datasets". As you know, I'm converting an application that uses temp tables to NOT use temp tables because it needs to run in a read-only database. JSONB seemed to be the way to go because you can almost treat them the same as temp tables. I think in the end, it will be "fast enough", but just not as fast as temp tables. Thanks for your help!
Mike


On Mon, Aug 14, 2017 at 11:12 AM, David G. Johnston <david.g.johnston@gmail.com> wrote:
On Mon, Aug 14, 2017 at 10:35 AM, Michael Moore <michaeljmoore@gmail.com> wrote:
Basically what I am doing is trying to simulate a SQL UPDATE statement. currently I am doing this, and it works, but it is slow, so I am looking for a better way. 

​I don't presently know a better solution in PostgreSQL.

Dave

pgsql-sql by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: [SQL] Updating jsonb rows
Next
From: Michael Moore
Date:
Subject: Re: [SQL] Updating jsonb rows