TODO item done:
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
This commit is contained in:
parent
fd6b9f04a7
commit
ee81126d1f
5
doc/TODO
5
doc/TODO
@ -46,10 +46,9 @@ PERMISSIONS
|
||||
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
|
||||
* Add PGPASSWORDFILE environment variable or ~/.pgpass to store
|
||||
user/host/password combinations
|
||||
* Remove PGPASSWORD because is insecure on some OS's
|
||||
* Remove PGPASSWORD because it is insecure on some OS's
|
||||
* Make single-user local access permissions the default by limiting
|
||||
permissions on the socket file (Peter E)
|
||||
* Use thread-safe crypt() in libpq, if available
|
||||
* -Allow permissions for functions (Peter E)
|
||||
|
||||
ADMIN
|
||||
@ -66,7 +65,7 @@ ADMIN
|
||||
flags unique
|
||||
* Allow logging of query durations
|
||||
* -Prevent SIGHUP and 'pg_ctl reload' from changing command line
|
||||
specified parameters to postgresql.conf defaults
|
||||
specified parameters to postgresql.conf defaults (Peter E)
|
||||
|
||||
|
||||
DATA TYPES
|
||||
|
@ -15,7 +15,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.105 2002/03/02 21:39:32 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.106 2002/03/08 04:29:01 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -2964,7 +2964,7 @@ prefix_selectivity(Query *root, Var *var, char *prefix)
|
||||
* wildcards (such as % for LIKE or .* for regex) increase it.
|
||||
*/
|
||||
|
||||
#define FIXED_CHAR_SEL 0.04 /* about 1/25 */
|
||||
#define FIXED_CHAR_SEL 0.20 /* about 1/5 */
|
||||
#define CHAR_RANGE_SEL 0.25
|
||||
#define ANY_CHAR_SEL 0.9 /* not 1, since it won't match
|
||||
* end-of-string */
|
||||
|
Loading…
x
Reference in New Issue
Block a user