| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>, ohp(at)pyrenet(dot)fr, Postgres Hackers List <hackers(at)postgresql(dot)org> |
| Subject: | Re: Porting reports (cont'd) |
| Date: | 2000-05-05 22:51:48 |
| Message-ID: | 200005052251.SAA07467@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> >> Compiler bugs are a PITA. But Postgres can't have inline code to
> >> handle all cases, esp. cases like this. "if (var op const)" is imho
> >> the usual style for comparisons, and obfuscating that for a single
> >> buggy platform isn't a Good Thing.
>
> > The bigger problem is that just fixes the comparison done by the
> > regression tests. Who knows how many other comparisons are broken. I
> > say leave it broken and don't trust it. If we fix just the
> > regression-shown fault, we give users a false sense of security.
>
> Excellent point...
>
> What we've usually done in the past, when faced with compiler problems,
> is to cut down the optimization setting selected by the platform's
> template file. If that helps for Unixware then it'd make sense to do
> it, IMHO.
Agreed.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2000-05-05 23:22:41 | Re: pg_group_name_index corrupt? |
| Previous Message | Tom Lane | 2000-05-05 22:50:39 | Re: Porting reports (cont'd) |