From d70d46fd6076171d9834f11af3a5d65ccc976289 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 29 Jul 2000 18:46:12 +0000 Subject: 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. --- src/test/regress/regress.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/test') 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 /* 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. */ -- cgit v1.2.3