From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: massive update on gin index
Date: Wed, 14 Sep 2022 13:46:52 -0600
Message-ID: <7b4a6c68-93cc-202a-a87e-a30e6effc80f@gmail.com> (raw)
In-Reply-To: <3D4F5EA2-3144-4F3B-8FBC-A4FD524B663F@gmail.com>
References: <CAB-JLwa1KMTj17y5cCdNQC_KFd16VXViZ_Hf1Jt+AUgiUo75Qg@mail.gmail.com>
<3D4F5EA2-3144-4F3B-8FBC-A4FD524B663F@gmail.com>
On 9/14/22 13:38, Guyren Howe wrote:
> You might consider defining a phone type that includes your “type”
> information, and just having an array of those, if you really want to
> do something like this.
>
> But a related table instead would be the obvious answer.
Did you try a simple array of phone numbers? If you really care about
mobile,work,home prepend the number with one of HMW. Easily stripped off
as necessary. I've had decent performance with arrays in the past.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: robjsargent@gmail.com
Subject: Re: massive update on gin index
In-Reply-To: <7b4a6c68-93cc-202a-a87e-a30e6effc80f@gmail.com>
References: <CAB-JLwa1KMTj17y5cCdNQC_KFd16VXViZ_Hf1Jt+AUgiUo75Qg@mail.gmail.com> <3D4F5EA2-3144-4F3B-8FBC-A4FD524B663F@gmail.com> <7b4a6c68-93cc-202a-a87e-a30e6effc80f@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox