| From: | hubert depesz lubaczewski <depesz(at)depesz(dot)com> |
|---|---|
| To: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
| Cc: | Bzzzz <lazyvirus(at)gmx(dot)com>, pgsql-novice(at)lists(dot)postgresql(dot)org |
| Subject: | Re: hstore or jsonb ? |
| Date: | 2022-11-15 08:39:46 |
| Message-ID: | Y3NQUlvvYrXZFVs3@depesz.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-novice |
On Mon, Nov 14, 2022 at 10:03:02PM +0100, Laurenz Albe wrote:
> On Mon, 2022-11-14 at 15:50 +0100, Bzzzz wrote:
> > I'd like to store specs, as they vary a lot from one item to another,
> > hstore or jsonb look like the best solution.
> >
> > Specs can have 2 levels at most.
> > ie: "color": ["white", "black", "blue"]).
> >
> > The indexation is mandatory for fulltext accurate researches in
> > (almost) natural language.
> >
> > So, as the processing is almost the same (maps I/O in Erlang), which one
> > would be the best for my needs, hstore or jsonb ?
>
> "hstore" is obsolete; don't use it.
Do you have any support for this claim?
Best regards,
depesz
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2022-11-15 17:02:51 | Re: hstore or jsonb ? |
| Previous Message | Laurenz Albe | 2022-11-15 07:05:31 | Re: hstore or jsonb ? |