INDEX ONLY scan with expression index

From: James Sewell <james(dot)sewell(at)lisasoft(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: INDEX ONLY scan with expression index
Date: 2016-03-08 05:50:26
Message-ID: CANkGpBtsnNGoXjd69f2WevRxzs_X6Ynzt-OpD9z07ei9GekcyQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

Would anyone be able to shed some light on why expression based indexes
can't be used for an index only scan?

I've found a few comments saying this is the case, and I've proven it is
the case in reality - but I can't seem to find the why.

Cheers,

James Sewell,
Solutions Architect
______________________________________

Level 2, 50 Queen St, Melbourne VIC 3000

*P *(+61) 3 8370 8000 *W* www.lisasoft.com *F *(+61) 3 8370 8099

--

------------------------------
The contents of this email are confidential and may be subject to legal or
professional privilege and copyright. No representation is made that this
email is free of viruses or other defects. If you have received this
communication in error, you may not copy or distribute any part of it or
otherwise disclose its contents to anyone. Please advise the sender of your
incorrect receipt of this correspondence.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-03-08 06:33:20 Re: INDEX ONLY scan with expression index
Previous Message david 2016-03-08 04:00:14 Re: Does a call to a language handler provide a context/session, and somewhere to keep session data?