Remove pg_am.amindexnulls.
Tom Lane <tgl@sss.pgh.pa.us>
Remove pg_am.amindexnulls. The only use we have had for amindexnulls is in determining whether an index is safe to cluster on; but since the addition of the amclusterable flag, that usage is pretty redundant. In passing, clean up assorted sloppiness from the last patch that touched pg_am.h: Natts_pg_am was wrong, and ambuildempty was not documented.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +7 −7 |
| doc/src/sgml/indexam.sgml | modified | +5 −7 |
| src/backend/commands/cluster.c | modified | +0 −37 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_am.h | modified | +22 −24 |