From 0ac6298bb8ac11690cf3d4ad2537b4261ce93ab0 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 9 May 2003 18:08:48 +0000 Subject: Implement new-protocol binary I/O support in DataRow, Bind, and FunctionCall messages. Binary I/O is now up and working, but only for a small set of datatypes (integers, text, bytea). --- src/backend/executor/spi.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/backend/executor/spi.c') diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index fe420ce978..785170b0c5 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.97 2003/05/08 18:16:36 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/spi.c,v 1.98 2003/05/09 18:08:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -546,11 +546,7 @@ SPI_getvalue(HeapTuple tuple, TupleDesc tupdesc, int fnumber) typmod = -1; } - if (!getTypeOutputInfo(typoid, &foutoid, &typelem, &typisvarlena)) - { - SPI_result = SPI_ERROR_NOOUTFUNC; - return NULL; - } + getTypeOutputInfo(typoid, &foutoid, &typelem, &typisvarlena); /* * If we have a toasted datum, forcibly detoast it here to avoid -- cgit v1.2.1