mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
pgindent run for 9.4
This includes removing tabs after periods in C comments, which was applied to back branches, so this change should not effect backpatching.
This commit is contained in:
10
src/backend/utils/cache/lsyscache.c
vendored
10
src/backend/utils/cache/lsyscache.c
vendored
@ -186,13 +186,13 @@ get_opfamily_member(Oid opfamily, Oid lefttype, Oid righttype,
|
||||
* (This indicates that the operator is not a valid ordering operator.)
|
||||
*
|
||||
* Note: the operator could be registered in multiple families, for example
|
||||
* if someone were to build a "reverse sort" opfamily. This would result in
|
||||
* if someone were to build a "reverse sort" opfamily. This would result in
|
||||
* uncertainty as to whether "ORDER BY USING op" would default to NULLS FIRST
|
||||
* or NULLS LAST, as well as inefficient planning due to failure to match up
|
||||
* pathkeys that should be the same. So we want a determinate result here.
|
||||
* Because of the way the syscache search works, we'll use the interpretation
|
||||
* associated with the opfamily with smallest OID, which is probably
|
||||
* determinate enough. Since there is no longer any particularly good reason
|
||||
* determinate enough. Since there is no longer any particularly good reason
|
||||
* to build reverse-sort opfamilies, it doesn't seem worth expending any
|
||||
* additional effort on ensuring consistency.
|
||||
*/
|
||||
@ -403,7 +403,7 @@ get_ordering_op_for_equality_op(Oid opno, bool use_lhs_type)
|
||||
*
|
||||
* The planner currently uses simple equal() tests to compare the lists
|
||||
* returned by this function, which makes the list order relevant, though
|
||||
* strictly speaking it should not be. Because of the way syscache list
|
||||
* strictly speaking it should not be. Because of the way syscache list
|
||||
* searches are handled, in normal operation the result will be sorted by OID
|
||||
* so everything works fine. If running with system index usage disabled,
|
||||
* the result ordering is unspecified and hence the planner might fail to
|
||||
@ -1212,7 +1212,7 @@ op_mergejoinable(Oid opno, Oid inputtype)
|
||||
*
|
||||
* In some cases (currently only array_eq), hashjoinability depends on the
|
||||
* specific input data type the operator is invoked for, so that must be
|
||||
* passed as well. We currently assume that only one input's type is needed
|
||||
* passed as well. We currently assume that only one input's type is needed
|
||||
* to check this --- by convention, pass the left input's data type.
|
||||
*/
|
||||
bool
|
||||
@ -1880,7 +1880,7 @@ get_typbyval(Oid typid)
|
||||
* A two-fer: given the type OID, return both typlen and typbyval.
|
||||
*
|
||||
* Since both pieces of info are needed to know how to copy a Datum,
|
||||
* many places need both. Might as well get them with one cache lookup
|
||||
* many places need both. Might as well get them with one cache lookup
|
||||
* instead of two. Also, this routine raises an error instead of
|
||||
* returning a bogus value when given a bad type OID.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user