Re: Not sure if I should CREATE INDEX for text columns on which Iplan to filter later - Mailing list pgsql-general

From Martin Moore
Subject Re: Not sure if I should CREATE INDEX for text columns on which Iplan to filter later
Date
Msg-id 6F60E3C6-1F7C-490E-AF6B-70665B1EFBBA@avbrief.com
Whole thread Raw
In response to Re: Not sure if I should CREATE INDEX for text columns on which Iplan to filter later  (Bill Moran <wmoran@potentialtech.com>)
List pgsql-general
    
>    However, Martin's other comment about only using a single index is incorrect.
  >  Postgres can use multiple indexes per query, so it's often good practace to
  >  put indexes on every column that might ever be used in a WHERE clause.
    
   > -- 
   > Bill Moran <wmoran@potentialtech.com>
    
    

That's very useful to know!

Martin.




pgsql-general by date:

Previous
From: Alvaro Aguayo Garcia-Rada
Date:
Subject: Re: Installing 9.6.6 to a RHEL 6.7 server with no Internet access
Next
From: Julián Jiménez González
Date:
Subject: Building PostgreSQL old version from source to test vulnerability CVE-2017-7546