]> granicus.if.org Git - postgresql/commitdiff
Fix bogus function signature for areajoinsel.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Mar 1999 01:56:12 +0000 (01:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 28 Mar 1999 01:56:12 +0000 (01:56 +0000)
It still doesn't do anything, but at least now it does nothing correctly.

src/backend/utils/adt/geo_selfuncs.c
src/include/utils/geo_decls.h

index 8b646903592ef1cfc9db5a4b547b612f32697992..5c55dcdaacfcd016667bb395e11e602778215fae 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.7 1999/02/13 23:19:18 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_selfuncs.c,v 1.8 1999/03/28 01:56:12 tgl Exp $
  *
  *             XXX These are totally bogus.
  *
@@ -37,10 +37,10 @@ areasel(Oid opid,
 
 float64
 areajoinsel(Oid opid,
-                       Oid relid,
-                       AttrNumber attno,
-                       char *value,
-                       int32 flag)
+                       Oid relid1,
+                       AttrNumber attno1,
+                       Oid relid2,
+                       AttrNumber attno2)
 {
        float64         result;
 
@@ -85,10 +85,10 @@ leftsel(Oid opid,
 #ifdef NOT_USED
 float64
 leftjoinsel(Oid opid,
-                       Oid relid,
-                       AttrNumber attno,
-                       char *value,
-                       int32 flag)
+                       Oid relid1,
+                       AttrNumber attno1,
+                       Oid relid2,
+                       AttrNumber attno2)
 {
        float64         result;
 
@@ -122,10 +122,10 @@ contsel(Oid opid,
 #ifdef NOT_USED
 float64
 contjoinsel(Oid opid,
-                       Oid relid,
-                       AttrNumber attno,
-                       char *value,
-                       int32 flag)
+                       Oid relid1,
+                       AttrNumber attno1,
+                       Oid relid2,
+                       AttrNumber attno2)
 {
        float64         result;
 
index 44b0d719c7e70ea4a63e6e542c69a9e490e7bf96..808f5210e1e3caf1a4a31ff3b1048f518dfe2310 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: geo_decls.h,v 1.21 1998/09/01 04:39:11 momjian Exp $
+ * $Id: geo_decls.h,v 1.22 1999/03/28 01:56:11 tgl Exp $
  *
  * NOTE
  *       These routines do *not* use the float types from adt/.
@@ -362,7 +362,7 @@ extern double circle_dt(CIRCLE *circle1, CIRCLE *circle2);
 /* geo_selfuncs.c */
 extern float64 areasel(Oid opid, Oid relid, AttrNumber attno,
                char *value, int32 flag);
-extern float64 areajoinsel(Oid opid, Oid relid, AttrNumber attno,
-                       char *value, int32 flag);
+extern float64 areajoinsel(Oid opid, Oid relid1, AttrNumber attno1,
+               Oid relid2, AttrNumber attno2);
 
 #endif  /* GEO_DECLS_H */