diff options
| author | Jan Wieck <JanWieck@Yahoo.com> | 2000-07-03 23:10:14 +0000 |
|---|---|---|
| committer | Jan Wieck <JanWieck@Yahoo.com> | 2000-07-03 23:10:14 +0000 |
| commit | 57d8080a40f51e1ff9eedea602e96e2612161d77 (patch) | |
| tree | 6dbed1f7333436cb08af6e7c0d9c55ac5e064750 /src/backend/libpq | |
| parent | ef5bea51e17d36ab06e7e67847a8b1e489d6d189 (diff) | |
| download | postgresql-57d8080a40f51e1ff9eedea602e96e2612161d77.tar.gz | |
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
Diffstat (limited to 'src/backend/libpq')
| -rw-r--r-- | src/backend/libpq/be-fsstubs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libpq/be-fsstubs.c b/src/backend/libpq/be-fsstubs.c index 75f6562a8f..91769120f9 100644 --- a/src/backend/libpq/be-fsstubs.c +++ b/src/backend/libpq/be-fsstubs.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.47 2000/06/28 03:31:41 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.48 2000/07/03 23:09:37 wieck Exp $ * * NOTES * This should be moved to a more appropriate place. It is here @@ -331,7 +331,7 @@ loread(PG_FUNCTION_ARGS) retval = (struct varlena *) palloc(VARHDRSZ + len); totalread = lo_read(fd, VARDATA(retval), len); - VARSIZE(retval) = totalread + VARHDRSZ; + VARATT_SIZEP(retval) = totalread + VARHDRSZ; PG_RETURN_POINTER(retval); } |
