On Mon, 6 May 2019 at 22:39, Ashwin Agrawal <aagra...@pivotal.io> wrote: > > On Mon, May 6, 2019 at 7:14 AM Andres Freund <and...@anarazel.de> wrote: > > > > Hi, > > > > On May 6, 2019 3:40:55 AM PDT, Rafia Sabih <rafia.pghack...@gmail.com> > > wrote: > > >I was trying the toyam patch and on make check it failed with > > >segmentation fault at > > > > > >static void > > >toyam_relation_set_new_filenode(Relation rel, > > > char persistence, > > > TransactionId *freezeXid, > > > MultiXactId *minmulti) > > >{ > > > *freezeXid = InvalidTransactionId; > > > > > >Basically, on running create table t (i int, j int) using toytable, > > >leads to this segmentation fault. > > > > > >Am I missing something here? > > > > I assume you got compiler warmings compiling it? The API for some callbacks > > changed a bit. > > Attached patch gets toy table AM implementation to match latest master API. > The patch builds on top of patch from Heikki in [1]. > Compiles and works but the test still continues to fail with WARNING > for issue mentioned in [1] > Thanks Ashwin, this works fine with the mentioned warnings of course.
-- Regards, Rafia Sabih