mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	Fix typos in comments.
Also adjust the phrasing in the comments. Author: Etsuro Fujita <etsuro.fujita@gmail.com> Author: Heikki Linnakangas <hlinnaka@iki.fi> Reviewed-by: Tender Wang <tndrwang@gmail.com> Reviewed-by: Gurjeet Singh <gurjeet@singh.im> Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAPmGK17%3DPHSDZ%2B0G6jcj12buyyE1bQQc3sbp1Wxri7tODT-SDw%40mail.gmail.com Backpatch-through: 15
This commit is contained in:
		@@ -365,8 +365,8 @@ pgstat_reset_database_timestamp(Oid dboid, TimestampTz ts)
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Flush out pending stats for the entry
 | 
					 * Flush out pending stats for the entry
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * If nowait is true, this function returns false if lock could not
 | 
					 * If nowait is true and the lock could not be immediately acquired, returns
 | 
				
			||||||
 * immediately acquired, otherwise true is returned.
 | 
					 * false without flushing the entry.  Otherwise returns true.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
bool
 | 
					bool
 | 
				
			||||||
pgstat_database_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
					pgstat_database_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -186,8 +186,8 @@ pgstat_end_function_usage(PgStat_FunctionCallUsage *fcu, bool finalize)
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Flush out pending stats for the entry
 | 
					 * Flush out pending stats for the entry
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * If nowait is true, this function returns false if lock could not
 | 
					 * If nowait is true and the lock could not be immediately acquired, returns
 | 
				
			||||||
 * immediately acquired, otherwise true is returned.
 | 
					 * false without flushing the entry.  Otherwise returns true.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
bool
 | 
					bool
 | 
				
			||||||
pgstat_function_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
					pgstat_function_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -752,8 +752,8 @@ pgstat_twophase_postabort(TransactionId xid, uint16 info,
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Flush out pending stats for the entry
 | 
					 * Flush out pending stats for the entry
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * If nowait is true, this function returns false if lock could not
 | 
					 * If nowait is true and the lock could not be immediately acquired, returns
 | 
				
			||||||
 * immediately acquired, otherwise true is returned.
 | 
					 * false without flushing the entry.  Otherwise returns true.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * Some of the stats are copied to the corresponding pending database stats
 | 
					 * Some of the stats are copied to the corresponding pending database stats
 | 
				
			||||||
 * entry when successfully flushing.
 | 
					 * entry when successfully flushing.
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -77,8 +77,8 @@ pgstat_fetch_stat_subscription(Oid subid)
 | 
				
			|||||||
/*
 | 
					/*
 | 
				
			||||||
 * Flush out pending stats for the entry
 | 
					 * Flush out pending stats for the entry
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * If nowait is true, this function returns false if lock could not
 | 
					 * If nowait is true and the lock could not be immediately acquired, returns
 | 
				
			||||||
 * immediately acquired, otherwise true is returned.
 | 
					 * false without flushing the entry.  Otherwise returns true.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
bool
 | 
					bool
 | 
				
			||||||
pgstat_subscription_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
					pgstat_subscription_flush_cb(PgStat_EntryRef *entry_ref, bool nowait)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user