Mikheev, Vadim writes:
> > more info. It seems to not like the following from
> > src/include/buffer/bufpage.h (line 305):
> > #define PageSetLSN(page, lsn) \
> > (((PageHeader) (page))->pd_lsn = (XLogRecPtr) (lsn))
> >
> > I'm not sure what it's trying to do...
>
> Just assign values to 8 bytes structure in pageheader.
It's because XLogRecPtr is a struct. You can't assign structs with
'='. Gotta use memcpy, etc.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/