Re: Functions and Indexes - Mailing list pgsql-general

From Moreno Andreo
Subject Re: Functions and Indexes
Date
Msg-id 145e1c71-c0c6-473d-bc89-86cbd106b58b@evolu-s.it
Whole thread Raw
In response to Re: Functions and Indexes  (Gianni Ceccarelli <dakkar@thenautilus.net>)
List pgsql-general

On 18/11/24 15:43, Gianni Ceccarelli wrote:
> On Mon, 18 Nov 2024 15:37:57 +0100
> Moreno Andreo <moreno.andreo@evolu-s.it> 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




pgsql-general by date:

Previous
From: 張宸瑋
Date:
Subject: Re: Re : Credcheck extension
Next
From: Moreno Andreo
Date:
Subject: Re: Functions and Indexes