summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-29 18:46:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-29 18:46:12 +0000
commitd70d46fd6076171d9834f11af3a5d65ccc976289 (patch)
treef5d8c567427277b7508d0a43a5e3d11483953d38 /src/test
parent1ebe1da296419b07377058ffad0e75bb330de8d1 (diff)
PATH and POLYGON datatypes are now TOASTable. Associated functions
updated to new fmgr style. Deleted hoary old functions for compatibility with pre-6.1 representations of these datatypes.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/regress.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/regress/regress.c b/src/test/regress/regress.c
index ca2f0a69caa..964e8346670 100644
--- a/src/test/regress/regress.c
+++ b/src/test/regress/regress.c
@@ -1,5 +1,5 @@
/*
- * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.41 2000/07/05 23:12:09 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/test/regress/regress.c,v 1.42 2000/07/29 18:46:12 tgl Exp $
*/
#include <float.h> /* faked on sunos */
@@ -120,7 +120,8 @@ POLYGON *poly;
sprintf(buf, "%c", RDELIM);
strcat(output, buf);
- return path_in(output);
+ return DatumGetPathP(DirectFunctionCall1(path_in,
+ CStringGetDatum(output)));
}
/* return the point where two paths intersect. Assumes that they do. */