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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Mikheev, Vadim" <vmikheev(at)SECTORBASE(dot)COM>, "'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 18:58:10
Message-ID: 28646.974746690@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> It's because XLogRecPtr is a struct. You can't assign structs with
> '='. Gotta use memcpy, etc.

Struct assignment is a required feature since ANSI C, and I'm pretty
sure we use it in other places already. I doubt that's the explanation
for Larry's problem.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2000-11-20 18:58:27 RE: err, XLOG/UW711/cc/Doesn't compile.
Previous Message Peter Eisentraut 2000-11-20 18:46:07 RE: err, XLOG/UW711/cc/Doesn't compile.