mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Another pgindent run. Fixes enum indenting, and improves #endif
spacing. Also adds space for one-line comments.
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: tuplesort.h,v 1.9 2001/10/25 05:50:11 momjian Exp $
|
||||
* $Id: tuplesort.h,v 1.10 2001/10/28 06:26:10 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -83,10 +83,10 @@ extern void tuplesort_restorepos(Tuplesortstate *state);
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
SORTFUNC_LT, /* raw "<" operator */
|
||||
SORTFUNC_REVLT, /* raw "<" operator, but reverse NULLs */
|
||||
SORTFUNC_CMP, /* -1 / 0 / 1 three-way comparator */
|
||||
SORTFUNC_REVCMP /* 1 / 0 / -1 (reversed) 3-way comparator */
|
||||
SORTFUNC_LT, /* raw "<" operator */
|
||||
SORTFUNC_REVLT, /* raw "<" operator, but reverse NULLs */
|
||||
SORTFUNC_CMP, /* -1 / 0 / 1 three-way comparator */
|
||||
SORTFUNC_REVCMP /* 1 / 0 / -1 (reversed) 3-way comparator */
|
||||
} SortFunctionKind;
|
||||
|
||||
extern void SelectSortFunction(Oid sortOperator,
|
||||
@@ -101,4 +101,5 @@ extern void SelectSortFunction(Oid sortOperator,
|
||||
extern int32 ApplySortFunction(FmgrInfo *sortFunction, SortFunctionKind kind,
|
||||
Datum datum1, bool isNull1,
|
||||
Datum datum2, bool isNull2);
|
||||
|
||||
#endif /* TUPLESORT_H */
|
||||
|
Reference in New Issue
Block a user