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

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

> > 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.

Vadim

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message 'Larry Rosenman' 2000-11-20 19:28:11 Re: err, XLOG/UW711/cc/Doesn't compile.
Previous Message Mikheev, Vadim 2000-11-20 19:12:18 RE: err, XLOG/UW711/cc/Doesn't compile.