Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
ee81126d
Commit
ee81126d
authored
23 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
TODO item done:
* Change FIXED_CHAR_SEL to 0.20 from 0.04 to give better selectivity (Bruce)
parent
fd6b9f04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/TODO
+2
-3
2 additions, 3 deletions
doc/TODO
src/backend/utils/adt/selfuncs.c
+2
-2
2 additions, 2 deletions
src/backend/utils/adt/selfuncs.c
with
4 additions
and
5 deletions
doc/TODO
+
2
−
3
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
it
is 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
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/adt/selfuncs.c
+
2
−
2
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/0
2 21:39:32
momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.10
6
2002/03/0
8 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.0
4
/* about 1/
2
5 */
#define FIXED_CHAR_SEL 0.
2
0
/* 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 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment