mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
here it is as requested by Bruce.
I tested it restoring my database with > 100000 BLOBS, and dumping it out. But unfortunatly I can not restore it back due to problems in pg_dump. -- Sincerely Yours, Denis Perchine
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.52 2000/10/08 03:53:13 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.53 2000/10/21 15:55:22 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 = RelationGetRelid(lobjDesc->heap_r);
|
||||
lobjId = lobjDesc->id;
|
||||
|
||||
inv_close(lobjDesc);
|
||||
|
||||
@@ -512,8 +512,10 @@ lo_commit(bool isCommit)
|
||||
{
|
||||
if (cookies[i] != NULL)
|
||||
{
|
||||
/*
|
||||
if (isCommit)
|
||||
inv_cleanindex(cookies[i]);
|
||||
*/
|
||||
cookies[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user