mirror of
https://github.com/postgres/postgres.git
synced 2025-08-24 09:27:52 +03:00
Change TRUE/FALSE to true/false
The lower case spellings are C and C++ standard and are used in most parts of the PostgreSQL sources. The upper case spellings are only used in some files/modules. So standardize on the standard spellings. The APIs for ICU, Perl, and Windows define their own TRUE and FALSE, so those are left as is when using those APIs. In code comments, we use the lower-case spelling for the C concepts and keep the upper-case spelling for the SQL concepts. Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
@@ -149,7 +149,7 @@ typedef struct xl_hash_split_complete
|
||||
typedef struct xl_hash_move_page_contents
|
||||
{
|
||||
uint16 ntups;
|
||||
bool is_prim_bucket_same_wrt; /* TRUE if the page to which
|
||||
bool is_prim_bucket_same_wrt; /* true if the page to which
|
||||
* tuples are moved is same as
|
||||
* primary bucket page */
|
||||
} xl_hash_move_page_contents;
|
||||
@@ -174,10 +174,10 @@ typedef struct xl_hash_squeeze_page
|
||||
BlockNumber prevblkno;
|
||||
BlockNumber nextblkno;
|
||||
uint16 ntups;
|
||||
bool is_prim_bucket_same_wrt; /* TRUE if the page to which
|
||||
bool is_prim_bucket_same_wrt; /* true if the page to which
|
||||
* tuples are moved is same as
|
||||
* primary bucket page */
|
||||
bool is_prev_bucket_same_wrt; /* TRUE if the page to which
|
||||
bool is_prev_bucket_same_wrt; /* true if the page to which
|
||||
* tuples are moved is the page
|
||||
* previous to the freed overflow
|
||||
* page */
|
||||
@@ -196,9 +196,9 @@ typedef struct xl_hash_squeeze_page
|
||||
*/
|
||||
typedef struct xl_hash_delete
|
||||
{
|
||||
bool clear_dead_marking; /* TRUE if this operation clears
|
||||
bool clear_dead_marking; /* true if this operation clears
|
||||
* LH_PAGE_HAS_DEAD_TUPLES flag */
|
||||
bool is_primary_bucket_page; /* TRUE if the operation is for
|
||||
bool is_primary_bucket_page; /* true if the operation is for
|
||||
* primary bucket page */
|
||||
} xl_hash_delete;
|
||||
|
||||
|
Reference in New Issue
Block a user