{"push_id":860535825,"size":1,"distinct_size":1,"ref":"refs/heads/REL9_1_STABLE","head":"7fe1d1cfbfaf190ccba576a50214378f6a262325","before":"87deb55a4723e3ee00e4324fca684c26cfa17cc6","commits":[{"sha":"7fe1d1cfbfaf190ccba576a50214378f6a262325","author":{"email":"ffeaa947aef224da9ba99b6a18bdd74288df0e3e@sss.pgh.pa.us","name":"Tom Lane"},"message":"Improve our workaround for 'TeX capacity exceeded' in building PDF files.\n\nIn commit a5ec86a7c787832d28d5e50400ec96a5190f2555 I wrote a quick hack\nthat reduced the number of TeX string pool entries created while converting\nour documentation to PDF form.  That held the fort for awhile, but as of\nHEAD we're back up against the same limitation.  It turns out that the\noriginal coding of \\FlowObjectSetup actually results in *three* string pool\nentries being generated for every \"flow object\" (that is, potential\ncross-reference target) in the documentation, and my previous hack only got\nrid of one of them.  With a little more care, we can reduce the string\ncount to one per flow object plus one per actually-cross-referenced flow\nobject (about 115000 + 5000 as of current HEAD); that should work until\nthe documentation volume roughly doubles from where it is today.\n\nAs a not-incidental side benefit, this change also causes pdfjadetex to\nstop emitting unreferenced hyperlink anchors (bookmarks) into the PDF file.\nIt had been making one willy-nilly for every flow object; now it's just one\nper actually-cross-referenced object.  This results in close to a 2X\nsavings in PDF file size.  We will still want to run the output through\n\"jpdftweak\" to get it to be compressed; but we no longer need removal of\nunreferenced bookmarks, so we might be able to find a quicker tool for\nthat step.\n\nAlthough the failure only affects HEAD and US-format output at the moment,\n9.5 cannot be more than a few pages short of failing likewise, so it\nwill inevitably fail after a few rounds of minor-version release notes.\nI don't have a lot of faith that we'll never hit the limit in the older\nbranches; and anyway it would be nice to get rid of jpdftweak across the\nboard.  Therefore, back-patch to all supported branches.","distinct":true,"url":"https://api.github.com/repos/postgres/postgres/commits/7fe1d1cfbfaf190ccba576a50214378f6a262325"}]}