Re: [HACKERS] Macro From Hell

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: daveh(at)insightdist(dot)com (David Hartwig)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Macro From Hell
Date: 1998-09-08 22:18:40
Message-ID: 199809082218.SAA14695@candle.pha.pa.us
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)

Done.

--
Bruce Momjian | 830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Hartwig 1998-09-09 02:45:27 Re: [HACKERS] index fix report
Previous Message David Hartwig 1998-09-08 19:04:01 Re: [HACKERS] index fix report