Scripts, raw samples and plans behind the numbers in the pgsql-hackers thread "Let an ordering index scan hand its ORDER BY value to the target list": https://postgr.es/m/8s5lT8erXzBMugXJQ6Wginbp_gc2B4hmCYhF0Q0GpnuK87eCAOcKs5K31AWCwraCNFIQt42wwkow_MPPubHg485MWv-zDBY4NL_JX9yJEEg=@burd.me
Patches: v5, https://github.com/gburd/postgres/tree/ntsv (commits below).
This is revision 2. Revision 1 (935f94e, still readable in this gist's
history) had defects found in an outside review; they are listed under