From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #11207: empty path will segfault jsonb #> |
Date: | 2014-08-20 01:28:33 |
Message-ID: | 26737.1408498113@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> Not that we would necessarily want to duplicate hstore but "hstore ->
> text[]" seems similar enough to emulate if desired.
Actually, that operator is something completely different: it does N
independent lookups in the given hstore, and produces an array of the N
results. Since hstore has no concept of nesting, there wouldn't be a
reason for it to have something that does what json's #> does.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | jbaum | 2014-08-20 02:15:30 | BUG #11221: pg_restore unusable for expensive matviews |
Previous Message | Tom Lane | 2014-08-20 01:19:36 | Re: BUG #11207: empty path will segfault jsonb #> |