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 382ead896f31f50035c4faca37c034ef3cb8cb32..3b12e670a0b2069da4e02558b0cec92c75503224 100644 (file)
@@ -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 7a7fe7b74c5b4b83c2636fc96f1e2d9fad110bea..35a3532f7c390dc1f12baa1cc512427bc2f8b15a 100644 (file)
@@ -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 */