diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-09 18:08:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-05-09 18:08:48 +0000 |
commit | 0ac6298bb8ac11690cf3d4ad2537b4261ce93ab0 (patch) | |
tree | 6c224ba8d29078c7b343eaac0a4515a0257d661a /src/backend/executor | |
parent | d85a0a6bef965192df751532d38bbe8f4ec4ccd7 (diff) | |
download | postgresql-0ac6298bb8ac11690cf3d4ad2537b4261ce93ab0.tar.gz postgresql-0ac6298bb8ac11690cf3d4ad2537b4261ce93ab0.zip |
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).
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/spi.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index fe420ce978e..785170b0c52 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 |