diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2020-12-11 18:58:07 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2020-12-11 18:58:21 -0500 |
commit | 0ec5f7e78231a621a1d96c4bfedc4a1849a6c6cc (patch) | |
tree | b405c93112e30c7cdeeb5d0fa6bc4e318fd2056e /src/backend/access/gist/gistbuild.c | |
parent | 8c15a297452e970d68529ee2ce6bd94d84598409 (diff) | |
download | postgresql-0ec5f7e78231a621a1d96c4bfedc4a1849a6c6cc.tar.gz postgresql-0ec5f7e78231a621a1d96c4bfedc4a1849a6c6cc.zip |
Allow subscripting of hstore values.
This is basically a finger exercise to prove that it's possible for
an extension module to add subscripting ability. Subscripted fetch
from an hstore is not different from the existing "hstore -> text"
operator. Subscripted update does seem to be a little easier to
use than the traditional update method using hstore concatenation,
but it's not a fundamentally new ability.
However, there may be some value in the code as sample code, since
it shows what's basically the minimum-complexity way to implement
subscripting when one needn't consider nested container objects.
Discussion: https://postgr.es/m/3724341.1607551174@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions