pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude.
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude.
@ 2020-11-15 21:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2020-11-15 21:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix fuzzy thinking about amcanmulticol versus amcaninclude.

These flags should be independent: in particular an index AM should
be able to say that it supports include columns without necessarily
supporting multiple key columns.  The included-columns patch got
this wrong, possibly aided by the fact that it didn't bother to
update the documentation.

While here, clarify some text about amcanreturn, which was a little
vague about what should happen when amcanreturn reports that only
some of the index columns are returnable.

Noted while reviewing the SP-GiST included-columns patch, which
quite incorrectly (and unsafely) changed SP-GiST to claim
amcanmulticol = true as a workaround for this bug.

Backpatch to v11 where included columns were introduced.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29d29d652f0be47dc42fa9d667dee5b8e1baa18a

Modified Files
--------------
doc/src/sgml/indexam.sgml        | 35 +++++++++++++++++++++++++++--------
src/backend/commands/indexcmds.c |  4 ++--
2 files changed, 29 insertions(+), 10 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude.
@ 2020-11-15 21:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2020-11-15 21:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix fuzzy thinking about amcanmulticol versus amcaninclude.

These flags should be independent: in particular an index AM should
be able to say that it supports include columns without necessarily
supporting multiple key columns.  The included-columns patch got
this wrong, possibly aided by the fact that it didn't bother to
update the documentation.

While here, clarify some text about amcanreturn, which was a little
vague about what should happen when amcanreturn reports that only
some of the index columns are returnable.

Noted while reviewing the SP-GiST included-columns patch, which
quite incorrectly (and unsafely) changed SP-GiST to claim
amcanmulticol = true as a workaround for this bug.

Backpatch to v11 where included columns were introduced.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9cebe49524af365d48f9e63048c79f537d6b135c

Modified Files
--------------
doc/src/sgml/indexam.sgml        | 35 +++++++++++++++++++++++++++--------
src/backend/commands/indexcmds.c |  4 ++--
2 files changed, 29 insertions(+), 10 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude.
@ 2020-11-15 21:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2020-11-15 21:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix fuzzy thinking about amcanmulticol versus amcaninclude.

These flags should be independent: in particular an index AM should
be able to say that it supports include columns without necessarily
supporting multiple key columns.  The included-columns patch got
this wrong, possibly aided by the fact that it didn't bother to
update the documentation.

While here, clarify some text about amcanreturn, which was a little
vague about what should happen when amcanreturn reports that only
some of the index columns are returnable.

Noted while reviewing the SP-GiST included-columns patch, which
quite incorrectly (and unsafely) changed SP-GiST to claim
amcanmulticol = true as a workaround for this bug.

Backpatch to v11 where included columns were introduced.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4ac8ee9d4878dadccc2331d8d1b1769c97f4ebe9

Modified Files
--------------
doc/src/sgml/indexam.sgml        | 35 +++++++++++++++++++++++++++--------
src/backend/commands/indexcmds.c |  4 ++--
2 files changed, 29 insertions(+), 10 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude.
@ 2020-11-15 21:12  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2020-11-15 21:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix fuzzy thinking about amcanmulticol versus amcaninclude.

These flags should be independent: in particular an index AM should
be able to say that it supports include columns without necessarily
supporting multiple key columns.  The included-columns patch got
this wrong, possibly aided by the fact that it didn't bother to
update the documentation.

While here, clarify some text about amcanreturn, which was a little
vague about what should happen when amcanreturn reports that only
some of the index columns are returnable.

Noted while reviewing the SP-GiST included-columns patch, which
quite incorrectly (and unsafely) changed SP-GiST to claim
amcanmulticol = true as a workaround for this bug.

Backpatch to v11 where included columns were introduced.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7c89246d0bb233be7d6670f0a8f024e99423e8cc

Modified Files
--------------
doc/src/sgml/indexam.sgml        | 35 +++++++++++++++++++++++++++--------
src/backend/commands/indexcmds.c |  4 ++--
2 files changed, 29 insertions(+), 10 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-11-15 21:12 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-11-15 21:12 pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude. Tom Lane <tgl@sss.pgh.pa.us>
2020-11-15 21:12 pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude. Tom Lane <tgl@sss.pgh.pa.us>
2020-11-15 21:12 pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude. Tom Lane <tgl@sss.pgh.pa.us>
2020-11-15 21:12 pgsql: Fix fuzzy thinking about amcanmulticol versus amcaninclude. 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