Re: err, XLOG/UW711/cc/Doesn't compile.

Поиск
Список
Период
Сортировка
От 'Larry Rosenman'
Тема Re: err, XLOG/UW711/cc/Doesn't compile.
Дата
Msg-id 20001120133556.A13374@lerami.lerctr.org
обсуждение исходный текст
Ответ на RE: err, XLOG/UW711/cc/Doesn't compile.  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Список 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 по дате отправления: