summaryrefslogtreecommitdiff
path: root/src/backend/libpq
diff options
context:
space:
mode:
authorBruce Momjian2000-10-08 03:53:15 +0000
committerBruce Momjian2000-10-08 03:53:15 +0000
commite5e5de8e8c29531053abd13cc068ed6ca9065080 (patch)
tree6c4d305a0de83a37ad1fb14a8f9dd981c4422b72 /src/backend/libpq
parentcf5a950c105cf67d85acc214e2d8cfd171831971 (diff)
Back out:
> this is patch v 0.4 to support transactions with BLOBs. > All BLOBs are in one table. You need to make initdb. > > -- > Sincerely Yours, > Denis Perchine
Diffstat (limited to 'src/backend/libpq')
-rw-r--r--src/backend/libpq/be-fsstubs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backend/libpq/be-fsstubs.c b/src/backend/libpq/be-fsstubs.c
index e2b24d78f9a..321eebbb888 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.51 2000/10/08 03:18:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.52 2000/10/08 03:53:13 momjian Exp $
*
* NOTES
* This should be moved to a more appropriate place. It is here
@@ -267,7 +267,7 @@ lo_creat(PG_FUNCTION_ARGS)
PG_RETURN_OID(InvalidOid);
}
- lobjId = lobjDesc->id;
+ lobjId = RelationGetRelid(lobjDesc->heap_r);
inv_close(lobjDesc);
@@ -512,10 +512,8 @@ lo_commit(bool isCommit)
{
if (cookies[i] != NULL)
{
-/*
if (isCommit)
inv_cleanindex(cookies[i]);
-*/
cookies[i] = NULL;
}
}