mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix typos
Author: Lingjie Qiang Discussion: https://postgr.es/m/OSAPR01MB71654E773F62AC88DC1FC8CC80669@OSAPR01MB7165.jpnprd01.prod.outlook.com
This commit is contained in:
@ -692,7 +692,7 @@ User Locks (Advisory Locks)
|
|||||||
User locks are handled totally on the application side as long term
|
User locks are handled totally on the application side as long term
|
||||||
cooperative locks which may extend beyond the normal transaction boundaries.
|
cooperative locks which may extend beyond the normal transaction boundaries.
|
||||||
Their purpose is to indicate to an application that someone is `working'
|
Their purpose is to indicate to an application that someone is `working'
|
||||||
on an item. So it is possible to put an user lock on a tuple's oid,
|
on an item. So it is possible to put a user lock on a tuple's oid,
|
||||||
retrieve the tuple, work on it for an hour and then update it and remove
|
retrieve the tuple, work on it for an hour and then update it and remove
|
||||||
the lock. While the lock is active other clients can still read and write
|
the lock. While the lock is active other clients can still read and write
|
||||||
the tuple but they can be aware that it has been locked at the application
|
the tuple but they can be aware that it has been locked at the application
|
||||||
|
@ -1068,7 +1068,7 @@ get_iso_localename(const char *winlocname)
|
|||||||
LOCALE_NAME_MAX_LENGTH);
|
LOCALE_NAME_MAX_LENGTH);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If the lc_messages is already an Unix-style string, we have a direct
|
* If the lc_messages is already a Unix-style string, we have a direct
|
||||||
* match with LOCALE_SNAME, e.g. en-US, en_US.
|
* match with LOCALE_SNAME, e.g. en-US, en_US.
|
||||||
*/
|
*/
|
||||||
ret_val = GetLocaleInfoEx(wc_locale_name, LOCALE_SNAME, (LPWSTR) &buffer,
|
ret_val = GetLocaleInfoEx(wc_locale_name, LOCALE_SNAME, (LPWSTR) &buffer,
|
||||||
|
@ -36,7 +36,7 @@ typedef int16 AttrNumber;
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* AttrNumberIsForUserDefinedAttr
|
* AttrNumberIsForUserDefinedAttr
|
||||||
* True iff the attribute number corresponds to an user defined attribute.
|
* True iff the attribute number corresponds to a user defined attribute.
|
||||||
*/
|
*/
|
||||||
#define AttrNumberIsForUserDefinedAttr(attributeNumber) \
|
#define AttrNumberIsForUserDefinedAttr(attributeNumber) \
|
||||||
((bool) ((attributeNumber) > 0))
|
((bool) ((attributeNumber) > 0))
|
||||||
|
Reference in New Issue
Block a user