Fix bogus function signature for areajoinsel.

It still doesn't do anything, but at least now it does nothing correctly.
This commit is contained in:
Tom Lane 1999-03-28 01:56:12 +00:00
parent 763a7ab6b0
commit 23ef47f89d
2 changed files with 16 additions and 16 deletions

View 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;

View 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 */