mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -671,8 +671,8 @@ SubTransactionIsActive(SubTransactionId subxid)
|
||||
/*
|
||||
* GetCurrentCommandId
|
||||
*
|
||||
* "used" must be TRUE if the caller intends to use the command ID to mark
|
||||
* inserted/updated/deleted tuples. FALSE means the ID is being fetched
|
||||
* "used" must be true if the caller intends to use the command ID to mark
|
||||
* inserted/updated/deleted tuples. false means the ID is being fetched
|
||||
* for read-only purposes (ie, as a snapshot validity cutoff). See
|
||||
* CommandCounterIncrement() for discussion.
|
||||
*/
|
||||
@ -3470,7 +3470,7 @@ BeginTransactionBlock(void)
|
||||
* This executes a PREPARE command.
|
||||
*
|
||||
* Since PREPARE may actually do a ROLLBACK, the result indicates what
|
||||
* happened: TRUE for PREPARE, FALSE for ROLLBACK.
|
||||
* happened: true for PREPARE, false for ROLLBACK.
|
||||
*
|
||||
* Note that we don't actually do anything here except change blockState.
|
||||
* The real work will be done in the upcoming PrepareTransaction().
|
||||
@ -3522,7 +3522,7 @@ PrepareTransactionBlock(char *gid)
|
||||
* This executes a COMMIT command.
|
||||
*
|
||||
* Since COMMIT may actually do a ROLLBACK, the result indicates what
|
||||
* happened: TRUE for COMMIT, FALSE for ROLLBACK.
|
||||
* happened: true for COMMIT, false for ROLLBACK.
|
||||
*
|
||||
* Note that we don't actually do anything here except change blockState.
|
||||
* The real work will be done in the upcoming CommitTransactionCommand().
|
||||
|
Reference in New Issue
Block a user