Skip site navigation (1) Skip section navigation (2)

Re: FPE on Alpha in Select with PKEY (Patch)

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
To: pgsql-ports(at)postgreSQL(dot)org, pgsql-patches(at)postgreSQL(dot)org
Subject: Re: FPE on Alpha in Select with PKEY (Patch)
Date: 1999-03-02 14:31:35
Message-ID: 36DBF647.F5F38720@albourne.com (view raw or flat)
Thread:
Lists: pgsql-ports
Hi,

	I seem to have fixed the floating point problem on the Alphas -- at
least for my test cases. It requires the following patch at the end of
this mail. Could somebody who know postgres a bit better than me please
double-check it, and let me know whether it is ok? The regression test
seemed to run ok'ish (i.e. no more than before failed).

Adriaan

*** ./src/backend/optimizer/path/orindxpath.c.orig      Mon Sep 21
18:41:27 1998
--- ./src/backend/optimizer/path/orindxpath.c   Tue Mar  2 16:25:11 1999
***************
*** 133,139 ****
                                               
xfunc_get_path_cost((Path) pathnode);
                                }
  #endif
!                               clausenode->selectivity = (Cost)
floatVal(selecs);
                                t_list = lappend(t_list, pathnode);
                        }
                }
--- 133,139 ----
                                               
xfunc_get_path_cost((Path) pathnode);
                                }
  #endif
!                               clausenode->selectivity = (Cost)
floatVal(selecs->elem.ptr_value);
                                t_list = lappend(t_list, pathnode);
                        }
                }

In response to

pgsql-ports by date

Next:From: Pascal MuellerDate: 1999-03-02 15:33:21
Subject: Install Bug?
Previous:From: Unprivileged userDate: 1999-03-02 03:43:18
Subject: Port Bug Report: y.tab.h not exist

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group