diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-21 19:18:13 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-04-21 19:18:13 +0000 |
commit | 14c7fba3f7d0769d8a063dea2854693f35535f6a (patch) | |
tree | 51b519e88e8092e6fc9cdd6bf50dbff872bc6fa6 /src/backend/tcop/postgres.c | |
parent | c6221db3c0f7049b804391d59aeadcfbd1f51800 (diff) | |
download | postgresql-14c7fba3f7d0769d8a063dea2854693f35535f6a.tar.gz postgresql-14c7fba3f7d0769d8a063dea2854693f35535f6a.zip |
Rethink original decision to use AND/OR Expr nodes to represent bitmap
logic operations during planning. Seems cleaner to create two new Path
node types, instead --- this avoids duplication of cost-estimation code.
Also, create an enable_bitmapscan GUC parameter to control use of bitmap
plans.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 381d0e61102..2872d939ca8 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.442 2005/02/22 04:37:17 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.443 2005/04/21 19:18:13 tgl Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -2371,6 +2371,9 @@ PostgresMain(int argc, char *argv[], const char *username) case 'i': /* indexscan */ tmp = "enable_indexscan"; break; + case 'b': /* bitmapscan */ + tmp = "enable_bitmapscan"; + break; case 't': /* tidscan */ tmp = "enable_tidscan"; break; |