summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorAlvaro Herrera2009-09-01 02:54:52 +0000
committerAlvaro Herrera2009-09-01 02:54:52 +0000
commita8bb8eb58334e26eac0aa8d2db499a70e22b39d7 (patch)
treead533a4a53a0e7b3efd7c5e3d3978250b641d704 /src/bin
parent0905e8aeebd141a311ddee9957f75b698e872370 (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/bin')
-rw-r--r--src/bin/initdb/initdb.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 3fc9b3880ef..9f9c3d4997b 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -42,7 +42,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions taken from FreeBSD.
*
- * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.172 2009/06/11 14:49:07 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.173 2009/09/01 02:54:52 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1405,20 +1405,6 @@ setup_auth(void)
const char **line;
static const char *pg_authid_setup[] = {
/*
- * Create triggers to ensure manual updates to shared catalogs will be
- * reflected into their "flat file" copies.
- */
- "CREATE TRIGGER pg_sync_pg_database "
- " AFTER INSERT OR UPDATE OR DELETE ON pg_database "
- " FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger();\n",
- "CREATE TRIGGER pg_sync_pg_authid "
- " AFTER INSERT OR UPDATE OR DELETE ON pg_authid "
- " FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger();\n",
- "CREATE TRIGGER pg_sync_pg_auth_members "
- " AFTER INSERT OR UPDATE OR DELETE ON pg_auth_members "
- " FOR EACH STATEMENT EXECUTE PROCEDURE flatfile_update_trigger();\n",
-
- /*
* The authid table shouldn't be readable except through views, to
* ensure passwords are not publicly visible.
*/