* Mikheev, Vadim <[EMAIL PROTECTED]> [001120 13:26]:
> > > > 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.
>
> I had no problems with this on Solaris & Linux. Also I think that
> there are another places in code where it worked so far.
> Anyway, there are just two members in this struct - Larry, could
> you try make this assignment by members and let us know ?
I bet you used GCC on all those platforms... cc on UnixWare is
a C99 compiler....
I'll see if I can find the right pieces. This is evidently
*NON*-Portable in it's current form.
>
> Vadim
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: [EMAIL PROTECTED]
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749