Re: err, XLOG/UW711/cc/Doesn't compile. - Mailing list pgsql-hackers

From 'Larry Rosenman'
Subject Re: err, XLOG/UW711/cc/Doesn't compile.
Date
Msg-id 20001120133556.A13374@lerami.lerctr.org
Whole thread Raw
In response to RE: err, XLOG/UW711/cc/Doesn't compile.  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
List pgsql-hackers
* Mikheev, Vadim <vmikheev@SECTORBASE.COM> [001120 13:29]:
> > > It's because XLogRecPtr is a struct.  You can't assign structs with
> > > '='.  Gotta use memcpy, etc.
> > 
> > Correction:  It's because the compiler won't let you cast to a
> > struct.  Assigning seems to compile okay.
> 
> Oh, ok - seems we can just get rid of casting there.
Yup, removing the cast fixes that problem, and then we run into 
Don Baccus' issue with ecpg's yacc file. 


> 
> Vadim
-- 
Larry Rosenman                      http://www.lerctr.org/~ler
Phone: +1 972-414-9812 (voice) Internet: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749


pgsql-hackers by date:

Previous
From: "'Larry Rosenman'"
Date:
Subject: Re: err, XLOG/UW711/cc/Doesn't compile.
Next
From: Lamar Owen
Date:
Subject: Re: RPM's -fsigned-char (Re: [COMMITTERS] pgsql/src/backend/utils/adt (cash.c))