Re: [HACKERS] Macro From Hell

From: David Hartwig <daveh(at)insightdist(dot)com>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Macro From Hell
Date: 1998-09-08 17:13:48
Message-ID: 35F565CC.FF811E4F@insightdist.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:

> This was the fix. In the code it was:
>
> ((attlen) == sizeof(char)) ? \
> ( \
> (long)(cur_offset) \
> ) \
>

Needs one more tweak.

In backend/commands/copy.c May I suggest at line 664:

ptr = (char *)att_align(ptr, attr[i]->attlen, attr[i]->attalign)
^^^^^^^^

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Hartwig 1998-09-08 17:32:20 Re: [HACKERS] Problem with the constraints test and PRIMARY KEY on UnixWare 7.
Previous Message Thomas G. Lockhart 1998-09-08 16:44:02 Re: [HACKERS] Problem with the constraints test and PRIMARY KEY on UnixWare 7.