提交 23ef47f8 编写于 作者: T Tom Lane

Fix bogus function signature for areajoinsel.

It still doesn't do anything, but at least now it does nothing correctly.
上级 763a7ab6
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * 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. * XXX These are totally bogus.
* *
...@@ -37,10 +37,10 @@ areasel(Oid opid, ...@@ -37,10 +37,10 @@ areasel(Oid opid,
float64 float64
areajoinsel(Oid opid, areajoinsel(Oid opid,
Oid relid, Oid relid1,
AttrNumber attno, AttrNumber attno1,
char *value, Oid relid2,
int32 flag) AttrNumber attno2)
{ {
float64 result; float64 result;
...@@ -85,10 +85,10 @@ leftsel(Oid opid, ...@@ -85,10 +85,10 @@ leftsel(Oid opid,
#ifdef NOT_USED #ifdef NOT_USED
float64 float64
leftjoinsel(Oid opid, leftjoinsel(Oid opid,
Oid relid, Oid relid1,
AttrNumber attno, AttrNumber attno1,
char *value, Oid relid2,
int32 flag) AttrNumber attno2)
{ {
float64 result; float64 result;
...@@ -122,10 +122,10 @@ contsel(Oid opid, ...@@ -122,10 +122,10 @@ contsel(Oid opid,
#ifdef NOT_USED #ifdef NOT_USED
float64 float64
contjoinsel(Oid opid, contjoinsel(Oid opid,
Oid relid, Oid relid1,
AttrNumber attno, AttrNumber attno1,
char *value, Oid relid2,
int32 flag) AttrNumber attno2)
{ {
float64 result; float64 result;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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 * NOTE
* These routines do *not* use the float types from adt/. * These routines do *not* use the float types from adt/.
...@@ -362,7 +362,7 @@ extern double circle_dt(CIRCLE *circle1, CIRCLE *circle2); ...@@ -362,7 +362,7 @@ extern double circle_dt(CIRCLE *circle1, CIRCLE *circle2);
/* geo_selfuncs.c */ /* geo_selfuncs.c */
extern float64 areasel(Oid opid, Oid relid, AttrNumber attno, extern float64 areasel(Oid opid, Oid relid, AttrNumber attno,
char *value, int32 flag); char *value, int32 flag);
extern float64 areajoinsel(Oid opid, Oid relid, AttrNumber attno, extern float64 areajoinsel(Oid opid, Oid relid1, AttrNumber attno1,
char *value, int32 flag); Oid relid2, AttrNumber attno2);
#endif /* GEO_DECLS_H */ #endif /* GEO_DECLS_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册