From 57d8080a40f51e1ff9eedea602e96e2612161d77 Mon Sep 17 00:00:00 2001 From: Jan Wieck Date: Mon, 3 Jul 2000 23:10:14 +0000 Subject: TOAST WARNING: This is actually broken - we have self-deadlocks due to concurrent changes in buffer management. Vadim and me are working on it. Jan --- src/backend/tcop/fastpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/tcop/fastpath.c') diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c index cbba1223555..fd30bd58ac5 100644 --- a/src/backend/tcop/fastpath.c +++ b/src/backend/tcop/fastpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.42 2000/06/15 04:10:18 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/fastpath.c,v 1.43 2000/07/03 23:09:46 wieck Exp $ * * NOTES * This cruft is the server side of PQfn. @@ -349,7 +349,7 @@ HandleFunctionRequest() p = palloc(argsize + VARHDRSZ + 1); /* Added +1 to solve * memory leak - Peter * 98 Jan 6 */ - VARSIZE(p) = argsize + VARHDRSZ; + VARATT_SIZEP(p) = argsize + VARHDRSZ; if (pq_getbytes(VARDATA(p), argsize)) return EOF; } -- cgit v1.2.3