Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitee81126

Browse files
committed
TODO item done:
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
1 parentfd6b9f0 commitee81126

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

‎doc/TODO

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,9 @@ PERMISSIONS
4646
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
4747
* Add PGPASSWORDFILE environment variable or ~/.pgpass to store
4848
user/host/password combinations
49-
* Remove PGPASSWORD because is insecure on some OS's
49+
* Remove PGPASSWORD becauseitis insecure on some OS's
5050
* Make single-user local access permissions the default by limiting
5151
permissions on the socket file (Peter E)
52-
* Use thread-safe crypt() in libpq, if available
5352
* -Allow permissions for functions (Peter E)
5453

5554
ADMIN
@@ -66,7 +65,7 @@ ADMIN
6665
flags unique
6766
* Allow logging of query durations
6867
* -Prevent SIGHUP and 'pg_ctl reload' from changing command line
69-
specified parameters to postgresql.conf defaults
68+
specified parameters to postgresql.conf defaults (Peter E)
7069

7170

7271
DATA TYPES

‎src/backend/utils/adt/selfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
*
1717
* IDENTIFICATION
18-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.105 2002/03/02 21:39:32 momjian Exp $
18+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.106 2002/03/08 04:29:01 momjian Exp $
1919
*
2020
*-------------------------------------------------------------------------
2121
*/
@@ -2964,7 +2964,7 @@ prefix_selectivity(Query *root, Var *var, char *prefix)
29642964
* wildcards (such as % for LIKE or .* for regex) increase it.
29652965
*/
29662966

2967-
#defineFIXED_CHAR_SEL0.04/* about 1/25 */
2967+
#defineFIXED_CHAR_SEL0.20/* about 1/5 */
29682968
#defineCHAR_RANGE_SEL0.25
29692969
#defineANY_CHAR_SEL0.9/* not 1, since it won't match
29702970
* end-of-string */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp