Re: [HACKERS] Macro From Hell

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: daveh@insightdist.com (David Hartwig)
Cc: hackers@postgreSQL.org
Date: 1998-09-08T22:18:40Z
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)

Done.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)