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 /contrib/hstore/Makefile | |
| parent | 8c15a297452e970d68529ee2ce6bd94d84598409 (diff) | |
| download | postgresql-0ec5f7e78231a621a1d96c4bfedc4a1849a6c6cc.tar.gz | |
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 'contrib/hstore/Makefile')
| -rw-r--r-- | contrib/hstore/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/hstore/Makefile b/contrib/hstore/Makefile index 72376d9007..c4e339b57c 100644 --- a/contrib/hstore/Makefile +++ b/contrib/hstore/Makefile @@ -7,10 +7,12 @@ OBJS = \ hstore_gin.o \ hstore_gist.o \ hstore_io.o \ - hstore_op.o + hstore_op.o \ + hstore_subs.o EXTENSION = hstore DATA = hstore--1.4.sql \ + hstore--1.7--1.8.sql \ hstore--1.6--1.7.sql \ hstore--1.5--1.6.sql \ hstore--1.4--1.5.sql \ |
