diff options
author | Alvaro Herrera | 2009-09-01 02:54:52 +0000 |
---|---|---|
committer | Alvaro Herrera | 2009-09-01 02:54:52 +0000 |
commit | a8bb8eb58334e26eac0aa8d2db499a70e22b39d7 (patch) | |
tree | ad533a4a53a0e7b3efd7c5e3d3978250b641d704 /src/backend/access/transam/twophase_rmgr.c | |
parent | 0905e8aeebd141a311ddee9957f75b698e872370 (diff) |
Remove flatfiles.c, which is now obsolete.
Recent commits have removed the various uses it was supporting. It was a
performance bottleneck, according to bug report #4919 by Lauris Ulmanis; seems
it slowed down user creation after a billion users.
Diffstat (limited to 'src/backend/access/transam/twophase_rmgr.c')
-rw-r--r-- | src/backend/access/transam/twophase_rmgr.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/backend/access/transam/twophase_rmgr.c b/src/backend/access/transam/twophase_rmgr.c index c8564468bc9..49c485a966b 100644 --- a/src/backend/access/transam/twophase_rmgr.c +++ b/src/backend/access/transam/twophase_rmgr.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/transam/twophase_rmgr.c,v 1.8 2009/01/01 17:23:36 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/transam/twophase_rmgr.c,v 1.9 2009/09/01 02:54:51 alvherre Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,6 @@ #include "commands/async.h" #include "pgstat.h" #include "storage/lock.h" -#include "utils/flatfiles.h" #include "utils/inval.h" @@ -27,7 +26,6 @@ const TwoPhaseCallback twophase_recover_callbacks[TWOPHASE_RM_MAX_ID + 1] = NULL, /* END ID */ lock_twophase_recover, /* Lock */ NULL, /* Inval */ - NULL, /* flat file update */ NULL, /* notify/listen */ NULL /* pgstat */ }; @@ -37,7 +35,6 @@ const TwoPhaseCallback twophase_postcommit_callbacks[TWOPHASE_RM_MAX_ID + 1] = NULL, /* END ID */ lock_twophase_postcommit, /* Lock */ inval_twophase_postcommit, /* Inval */ - flatfile_twophase_postcommit, /* flat file update */ notify_twophase_postcommit, /* notify/listen */ pgstat_twophase_postcommit /* pgstat */ }; @@ -47,7 +44,6 @@ const TwoPhaseCallback twophase_postabort_callbacks[TWOPHASE_RM_MAX_ID + 1] = NULL, /* END ID */ lock_twophase_postabort, /* Lock */ NULL, /* Inval */ - NULL, /* flat file update */ NULL, /* notify/listen */ pgstat_twophase_postabort /* pgstat */ }; |