From 68311bc6149fcd05fc67fc0233d42ee88e1cace3 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Wed, 9 Jun 2010 22:11:53 -0700 Subject: [PATCH] Get rid of SPI for now --- plparrot.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/plparrot.c b/plparrot.c index 0ce456f..03fd630 100644 --- a/plparrot.c +++ b/plparrot.c @@ -186,9 +186,6 @@ plperl6_func_handler(PG_FUNCTION_ARGS) char perl6_end[1] = "}"; int numargs, rc, i, length; - if ((rc = SPI_connect()) != SPI_OK_CONNECT) - elog(ERROR, "SPI_connect failed: %s", SPI_result_code_string(rc)); - retval = PG_GETARG_DATUM(0); return retval; }