Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)

From: Brent Verner <brent(at)rcfile(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)
Date: 2000-12-27 11:29:16
Message-ID: 20001227062916.A2354@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On 26 Dec 2000 at 23:41 (-0500), Tom Lane wrote:
| Brent Verner <brent(at)rcfile(dot)org> writes:
| > | Please apply it locally and let me know what you find.
|
| > what I'm seeing now is much the same.
|
| Drat. More to do, then.

after hours in the gdb-hole, I see this... maybe a clue? :)

src/include/access/common/heaptuple.c:

450 {
451
452 /*
453 * Fix me when going to a machine with more than a four-byte
454 * word!
455 */
456 off = att_align(off, att[j]->attlen, att[j]->attalign);
457
458 att[j]->attcacheoff = off;
459
460 off = att_addlength(off, att[j]->attlen, tp + off);
461 }

I'm pretty sure I don't know best how to fix this, but I've got some
randomly entered code compiling now :) If it passes the regression
tests I'll send it along.

brent 'glad the coffee shop in the backyard is open now :)'

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chih-Chang Hsieh 2000-12-27 11:55:47 About PQsetClientEncoding(),"SET NAMES",and "SET CLIENT_ENCODING"
Previous Message Zeugswetter Andreas SB 2000-12-27 10:03:30 configure in snapshout == configure.in

Browse pgsql-patches by date

  From Date Subject
Next Message Chih-Chang Hsieh 2000-12-27 11:55:47 About PQsetClientEncoding(),"SET NAMES",and "SET CLIENT_ENCODING"
Previous Message Brent Verner 2000-12-27 09:06:11 Re: Re: Tuple-valued datums on Alpha (was Re: 7.1 on DEC/Alpha)