public inbox for [email protected]
help / color / mirror / Atom feedFrom: Moreno Andreo <[email protected]>
To: [email protected]
Subject: Re: Functions and Indexes
Date: Tue, 19 Nov 2024 09:42:43 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <20241118144307.2017e712@exelion>
References: <[email protected]>
<[email protected]>
<20241118144307.2017e712@exelion>
On 18/11/24 15:43, Gianni Ceccarelli wrote:
> On Mon, 18 Nov 2024 15:37:57 +0100
> Moreno Andreo <[email protected]> wrote:
>
>> If a column appears in the WHERE clause (and so it should be placed
>> in index), in case it is "processed" in a function (see below), is it
>> possible to insert this function to further narrow down things?
> You probably want to look at
> https://www.postgresql.org/docs/current/indexes-expressional.html
>
Hi Gianni,
correct. That's a good starting point (now I have to add complexity
since the index should have 4 columns, one of them is referenced with LIKE)
Thanks!
Moreno
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: Functions and Indexes
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox