pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Doc: rework introductory documentation about covering indexes. 2+ messages / 1 participants [nested] [flat]
* pgsql: Doc: rework introductory documentation about covering indexes. @ 2018-11-22 18:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-11-22 18:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: rework introductory documentation about covering indexes. Documenting INCLUDE in the section about unique indexes is confusing, as complained of by Emilio Platzer. Furthermore, it entirely failed to explain why you might want to use the feature. The section about index-only scans is really the right place; it already talked about making such things the hard way. Rewrite that text to describe INCLUDE as the normal way to make a covering index. Also, move that section up a couple of places, as it now seems more important than some of the stuff we had before it. It still has to be after expression and partial indexes, since otherwise some of it would involve forward references. Discussion: https://postgr.es/m/154031939560.30897.14677735588262722042@wrigleys.postgresql.org Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fe375d33a184b98510d08f45f55da1338cde974a Modified Files -------------- doc/src/sgml/indices.sgml | 435 +++++++++++++++++++++++++++------------------- 1 file changed, 252 insertions(+), 183 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Doc: rework introductory documentation about covering indexes. @ 2018-11-22 18:25 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-11-22 18:25 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Doc: rework introductory documentation about covering indexes. Documenting INCLUDE in the section about unique indexes is confusing, as complained of by Emilio Platzer. Furthermore, it entirely failed to explain why you might want to use the feature. The section about index-only scans is really the right place; it already talked about making such things the hard way. Rewrite that text to describe INCLUDE as the normal way to make a covering index. Also, move that section up a couple of places, as it now seems more important than some of the stuff we had before it. It still has to be after expression and partial indexes, since otherwise some of it would involve forward references. Discussion: https://postgr.es/m/154031939560.30897.14677735588262722042@wrigleys.postgresql.org Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/2c0791376aeda0868a646d35d95f2be42ec97170 Modified Files -------------- doc/src/sgml/indices.sgml | 433 +++++++++++++++++++++++++++------------------- 1 file changed, 251 insertions(+), 182 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-11-22 18:25 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-11-22 18:25 pgsql: Doc: rework introductory documentation about covering indexes. Tom Lane <tgl@sss.pgh.pa.us> 2018-11-22 18:25 pgsql: Doc: rework introductory documentation about covering indexes. Tom Lane <tgl@sss.pgh.pa.us>
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