| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
| Cc: | Peter Geoghegan <pg(at)heroku(dot)com>, justin(dot)vanwinkle(at)gmail(dot)com, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org> |
| Subject: | Re: BUG #11207: empty path will segfault jsonb #> |
| Date: | 2014-08-21 19:55:51 |
| Message-ID: | 8076.1408650951@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
I wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
>> So will
>> val #>> '{}'
>> now return a dequoted bare scalar string? I think that's where the OP
>> actually came into this.
> If you think the latter should be dequoted, we can probably make it so.
Well, that turned out to be significantly more painful than I expected.
I ended up mostly rewriting get_worker() to make it less of a mess...
regards, tom lane
| Attachment | Content-Type | Size |
|---|---|---|
| rationalize-json-extraction-ops-2.patch | text/x-diff | 83.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Burgess, Freddie | 2014-08-23 01:27:51 | Postgresql concern of effect of invalid index |
| Previous Message | Marti Raudsepp | 2014-08-21 15:41:32 | Re: BUG #11233: Wishlist: specify config file directory independently |