Simplify pg_am representation of ordering-capable access methods:
Tom Lane <tgl@sss.pgh.pa.us>
Simplify pg_am representation of ordering-capable access methods: provide just a boolean 'amcanorder', instead of fields that specify the sort operator strategy numbers. We have decided to require ordering-capable AMs to use btree-compatible strategy numbers, so the old fields are overkill (and indeed misleading about what's allowed).
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +4 −15 |
| doc/src/sgml/indexam.sgml | modified | +11 −3 |
| doc/src/sgml/xindex.sgml | modified | +1 −15 |
| src/backend/commands/indexcmds.c | modified | +2 −3 |
| src/backend/optimizer/util/plancat.c | modified | +9 −7 |
| src/backend/utils/adt/ruleutils.c | modified | +2 −2 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_am.h | modified | +27 −33 |