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
acd6b6e6
Commit
acd6b6e6
authored
Aug 06, 2021
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix wording
parent
64b7a835
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
doc/src/sgml/rules.sgml
doc/src/sgml/rules.sgml
+1
-1
src/backend/utils/adt/multirangetypes_selfuncs.c
src/backend/utils/adt/multirangetypes_selfuncs.c
+1
-1
src/backend/utils/adt/rangetypes_selfuncs.c
src/backend/utils/adt/rangetypes_selfuncs.c
+1
-1
src/backend/utils/adt/rangetypes_spgist.c
src/backend/utils/adt/rangetypes_spgist.c
+3
-3
src/bin/pg_resetwal/pg_resetwal.c
src/bin/pg_resetwal/pg_resetwal.c
+2
-2
No files found.
doc/src/sgml/rules.sgml
View file @
acd6b6e6
...
@@ -546,7 +546,7 @@ SELECT shoelace.sl_name, shoelace.sl_avail,
...
@@ -546,7 +546,7 @@ SELECT shoelace.sl_name, shoelace.sl_avail,
<para>
<para>
Now we want to write a query that finds out for which shoes currently in the store
Now we want to write a query that finds out for which shoes currently in the store
we have the matching shoelaces (color and length) and where the
we have the matching shoelaces (color and length) and where the
total number of exactly matching pairs is greater or equal to two.
total number of exactly matching pairs is greater
than
or equal to two.
<programlisting>
<programlisting>
SELECT * FROM shoe_ready WHERE total_avail >= 2;
SELECT * FROM shoe_ready WHERE total_avail >= 2;
...
...
src/backend/utils/adt/multirangetypes_selfuncs.c
View file @
acd6b6e6
...
@@ -734,7 +734,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
...
@@ -734,7 +734,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
*
*
* This function is used in scalar operator selectivity estimation. Another
* This function is used in scalar operator selectivity estimation. Another
* goal of this function is to find a histogram bin where to stop
* goal of this function is to find a histogram bin where to stop
* interpolation of portion of bounds which are less or equal to given bound.
* interpolation of portion of bounds which are less
than
or equal to given bound.
*/
*/
static
int
static
int
rbound_bsearch
(
TypeCacheEntry
*
typcache
,
const
RangeBound
*
value
,
const
RangeBound
*
hist
,
rbound_bsearch
(
TypeCacheEntry
*
typcache
,
const
RangeBound
*
value
,
const
RangeBound
*
hist
,
...
...
src/backend/utils/adt/rangetypes_selfuncs.c
View file @
acd6b6e6
...
@@ -622,7 +622,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
...
@@ -622,7 +622,7 @@ calc_hist_selectivity_scalar(TypeCacheEntry *typcache, const RangeBound *constbo
*
*
* This function is used in scalar operator selectivity estimation. Another
* This function is used in scalar operator selectivity estimation. Another
* goal of this function is to find a histogram bin where to stop
* goal of this function is to find a histogram bin where to stop
* interpolation of portion of bounds which are less or equal to given bound.
* interpolation of portion of bounds which are less
than
or equal to given bound.
*/
*/
static
int
static
int
rbound_bsearch
(
TypeCacheEntry
*
typcache
,
const
RangeBound
*
value
,
const
RangeBound
*
hist
,
rbound_bsearch
(
TypeCacheEntry
*
typcache
,
const
RangeBound
*
value
,
const
RangeBound
*
hist
,
...
...
src/backend/utils/adt/rangetypes_spgist.c
View file @
acd6b6e6
...
@@ -512,7 +512,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
...
@@ -512,7 +512,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
/*
/*
* Range A is overleft to range B if upper bound of A is
* Range A is overleft to range B if upper bound of A is
* less or equal to upper bound of B.
* less
than
or equal to upper bound of B.
*/
*/
maxUpper
=
&
upper
;
maxUpper
=
&
upper
;
break
;
break
;
...
@@ -531,7 +531,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
...
@@ -531,7 +531,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
/*
/*
* Range A is overright to range B if lower bound of A is
* Range A is overright to range B if lower bound of A is
* greater or equal to lower bound of B.
* greater
than
or equal to lower bound of B.
*/
*/
minLower
=
&
lower
;
minLower
=
&
lower
;
break
;
break
;
...
@@ -608,7 +608,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
...
@@ -608,7 +608,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
/*
/*
* Non-empty range A contains non-empty range B if lower
* Non-empty range A contains non-empty range B if lower
* bound of A is lower or equal to lower bound of range B
* bound of A is lower or equal to lower bound of range B
* and upper bound of range A is greater or equal to upper
* and upper bound of range A is greater
than
or equal to upper
* bound of range A.
* bound of range A.
*
*
* All non-empty ranges contain an empty range.
* All non-empty ranges contain an empty range.
...
...
src/bin/pg_resetwal/pg_resetwal.c
View file @
acd6b6e6
...
@@ -180,7 +180,7 @@ main(int argc, char *argv[])
...
@@ -180,7 +180,7 @@ main(int argc, char *argv[])
}
}
if
(
!
TransactionIdIsNormal
(
set_oldest_xid
))
if
(
!
TransactionIdIsNormal
(
set_oldest_xid
))
{
{
pg_log_error
(
"oldest transaction ID (-u) must be greater or equal to %u"
,
FirstNormalTransactionId
);
pg_log_error
(
"oldest transaction ID (-u) must be greater
than
or equal to %u"
,
FirstNormalTransactionId
);
exit
(
1
);
exit
(
1
);
}
}
break
;
break
;
...
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
...
@@ -195,7 +195,7 @@ main(int argc, char *argv[])
}
}
if
(
!
TransactionIdIsNormal
(
set_xid
))
if
(
!
TransactionIdIsNormal
(
set_xid
))
{
{
pg_log_error
(
"transaction ID (-x) must be greater or equal to %u"
,
FirstNormalTransactionId
);
pg_log_error
(
"transaction ID (-x) must be greater
than
or equal to %u"
,
FirstNormalTransactionId
);
exit
(
1
);
exit
(
1
);
}
}
break
;
break
;
...
...
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