{"push_id":3531519204,"size":2,"distinct_size":1,"ref":"refs/heads/commitfest/23/2071","head":"d770e9caa91fd14c9b0a54dcf087208fd772a159","before":"16d5ed3126adcea0460ce534eab222ef4e417c4a","commits":[{"sha":"d08c44f7a4ec574110bf1587fe8bd682b8557e0f","author":{"name":"Tomas Vondra","email":"07d6043e15c7eaaf8513ba9a264e5412dbd73bf7@postgresql.org"},"message":"Fix mvdistinct and dependencies size calculations\n\nThe formulas used to calculate size while (de)serializing mvndistinct\nand functional dependencies were based on offset() of the structs. But\nthat is incorrect, because the structures are not copied directly, we\nwe copy the individual fields directly.\n\nAt the moment this works fine, because there is no alignment padding\non any platform we support. But it might break if we ever added some\nfields into any of the structs, for example. It's also confusing.\n\nFixed by reworking the macros to directly sum sizes of serialized\nfields. The macros are now useful only for serialiation, so there is\nno point in keeping them in the public header file. So make them\nprivate by moving them to the .c files.\n\nAlso adds a couple more asserts to check the serialization, and fixes\nan incorrect allocation of MVDependency instead of (MVDependency *).\n\nReported-By: Tom Lane\nDiscussion: https://postgr.es/m/29785.1555365602@sss.pgh.pa.us","distinct":false,"url":"https://api.github.com/repos/postgresql-cfbot/postgresql/commits/d08c44f7a4ec574110bf1587fe8bd682b8557e0f"},{"sha":"d770e9caa91fd14c9b0a54dcf087208fd772a159","author":{"name":"Commitfest Bot","email":"b9e638e07cc2e2abf56c9c0cad7954f2e3bc1641@cputube.org"},"message":"[CF 23/2071] Avoid full GIN index scan when possible\n\nThis commit was automatically generated by a robot at cfbot.cputube.org.\nIt is based on patches submitted to the PostgreSQL mailing lists and\nregistered in the PostgreSQL Commitfest application.\n\nThis branch will be overwritten each time a new patch version is posted to\nthe email thread, and also periodically to check for bitrot caused by changes\non the master branch.\n\nCommitfest entry: https://commitfest.postgresql.org/23/2071\nPatch(es): https://www.postgresql.org/message-id/CAOBaU_YGP5-BEt5Cc0=zMve92vocPzD+XiZgiZs1kjY0cj=XBg@mail.gmail.com\nAuthor(s): Julien Rouhaud","distinct":true,"url":"https://api.github.com/repos/postgresql-cfbot/postgresql/commits/d770e9caa91fd14c9b0a54dcf087208fd772a159"}]}
{"actor":{"display_login":"postgresql-cfbot"}}