Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ee81126d
Commit
ee81126d
authored
Mar 08, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO item done:
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
parent
fd6b9f04
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
doc/TODO
doc/TODO
+2
-3
src/backend/utils/adt/selfuncs.c
src/backend/utils/adt/selfuncs.c
+2
-2
No files found.
doc/TODO
View file @
ee81126d
...
@@ -46,10 +46,9 @@ PERMISSIONS
...
@@ -46,10 +46,9 @@ PERMISSIONS
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
* Allow usernames to be specified directly in pg_hba.conf (Bruce)
* Add PGPASSWORDFILE environment variable or ~/.pgpass to store
* Add PGPASSWORDFILE environment variable or ~/.pgpass to store
user/host/password combinations
user/host/password combinations
* Remove PGPASSWORD because is insecure on some OS's
* Remove PGPASSWORD because i
t i
s insecure on some OS's
* Make single-user local access permissions the default by limiting
* Make single-user local access permissions the default by limiting
permissions on the socket file (Peter E)
permissions on the socket file (Peter E)
* Use thread-safe crypt() in libpq, if available
* -Allow permissions for functions (Peter E)
* -Allow permissions for functions (Peter E)
ADMIN
ADMIN
...
@@ -66,7 +65,7 @@ ADMIN
...
@@ -66,7 +65,7 @@ ADMIN
flags unique
flags unique
* Allow logging of query durations
* Allow logging of query durations
* -Prevent SIGHUP and 'pg_ctl reload' from changing command line
* -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
DATA TYPES
...
...
src/backend/utils/adt/selfuncs.c
View file @
ee81126d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
*
*
*
*
* IDENTIFICATION
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.10
5 2002/03/02 21:39:32
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.10
6 2002/03/08 04:29:01
momjian Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -2964,7 +2964,7 @@ prefix_selectivity(Query *root, Var *var, char *prefix)
...
@@ -2964,7 +2964,7 @@ prefix_selectivity(Query *root, Var *var, char *prefix)
* wildcards (such as % for LIKE or .* for regex) increase it.
* wildcards (such as % for LIKE or .* for regex) increase it.
*/
*/
#define FIXED_CHAR_SEL 0.
04
/* about 1/2
5 */
#define FIXED_CHAR_SEL 0.
20
/* about 1/
5 */
#define CHAR_RANGE_SEL 0.25
#define CHAR_RANGE_SEL 0.25
#define ANY_CHAR_SEL 0.9
/* not 1, since it won't match
#define ANY_CHAR_SEL 0.9
/* not 1, since it won't match
* end-of-string */
* end-of-string */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment