From 23ef47f89dcef116cdc2932febd5f39eeca3242f Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 28 Mar 1999 01:56:12 +0000 Subject: [PATCH] Fix bogus function signature for areajoinsel. It still doesn't do anything, but at least now it does nothing correctly. --- src/backend/utils/adt/geo_selfuncs.c | 26 +++++++++++++------------- src/include/utils/geo_decls.h | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/backend/utils/adt/geo_selfuncs.c b/src/backend/utils/adt/geo_selfuncs.c index 8b64690359..5c55dcdaac 100644 --- a/src/backend/utils/adt/geo_selfuncs.c +++ b/src/backend/utils/adt/geo_selfuncs.c @@ -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; diff --git a/src/include/utils/geo_decls.h b/src/include/utils/geo_decls.h index 44b0d719c7..808f5210e1 100644 --- a/src/include/utils/geo_decls.h +++ b/src/include/utils/geo_decls.h @@ -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 */ -- GitLab