Doc: discourage use of partial indexes for poor-man's-partitioning.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Feb 2020 23:52:18 +0000 (18:52 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 19 Feb 2020 23:52:18 +0000 (18:52 -0500)
commit6a8e5605b53561464c53006337596699f41b1de2
tree6ef562a332d1d618bf5f26a1698f2cd831ff70c6
parent70a7732007bc4689f4c7a44e738eb2d892dac1e3
Doc: discourage use of partial indexes for poor-man's-partitioning.

Creating a bunch of non-overlapping partial indexes is generally
a bad idea, so add an example saying not to do that.

Back-patch to v10.  Before that, the alternative of using (real)
partitioning wasn't available, so that the tradeoff isn't quite
so clear cut.

Discussion: https://postgr.es/m/CAKVFrvFY-f7kgwMRMiPLbPYMmgjc8Y2jjUGK_Y0HVcYAmU6ymg@mail.gmail.com
doc/src/sgml/indices.sgml