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

From: "'Larry Rosenman'" <ler(at)lerctr(dot)org>
To: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>
Cc: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, PostgreSQL Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: err, XLOG/UW711/cc/Doesn't compile.
Date: 2000-11-20 19:35:56
Message-ID: 20001120133556.A13374@lerami.lerctr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Mikheev, Vadim <vmikheev(at)SECTORBASE(dot)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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

In response to

Browse pgsql-hackers by date

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