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
d1747571
Commit
d1747571
authored
Jan 23, 2015
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos, update README.
Peter Geoghegan
parent
a1792320
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
src/backend/lib/README
src/backend/lib/README
+2
-0
src/backend/utils/adt/varlena.c
src/backend/utils/adt/varlena.c
+1
-1
src/include/utils/sortsupport.h
src/include/utils/sortsupport.h
+2
-2
No files found.
src/backend/lib/README
View file @
d1747571
...
...
@@ -3,6 +3,8 @@ in the backend:
binaryheap.c - a binary heap
hyperloglog.c - a streaming cardinality estimator
pairingheap.c - a pairing heap
rbtree.c - a red-black tree
...
...
src/backend/utils/adt/varlena.c
View file @
d1747571
...
...
@@ -2088,7 +2088,7 @@ bttext_abbrev_convert(Datum original, SortSupport ssup)
*
* First, Hash key proper, or a significant fraction of it. Mix in length
* in order to compensate for cases where differences are past
* CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
*
PG_
CACHE_LINE_SIZE bytes, so as to limit the overhead of hashing.
*/
hash
=
hash_any
((
unsigned
char
*
)
authoritative_data
,
Min
(
len
,
PG_CACHE_LINE_SIZE
));
...
...
src/include/utils/sortsupport.h
View file @
d1747571
...
...
@@ -165,8 +165,8 @@ typedef struct SortSupportData
* may set it to NULL to indicate abbreviation should not be used (which is
* something sortsupport routines need not concern themselves with).
* However, sortsupport routines must not set it when it is immediately
* established that abbreviation should not proceed (
for abbreviation
* calls, or platform-specific impediments to using abbreviation).
* established that abbreviation should not proceed (
e.g., for !abbreviate
* calls, or
due to
platform-specific impediments to using abbreviation).
*/
Datum
(
*
abbrev_converter
)
(
Datum
original
,
SortSupport
ssup
);
...
...
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