Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8a3935

Browse files
author
Etsuro Fujita
committed
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.comBackpatch-through: 15
1 parent1817d62 commitc8a3935

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

‎src/backend/utils/activity/pgstat_database.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ pgstat_reset_database_timestamp(Oid dboid, TimestampTz ts)
368368
/*
369369
* Flush out pending stats for the entry
370370
*
371-
* If nowait is true, this function returns false iflock could not
372-
*immediately acquired, otherwise true is returned.
371+
* If nowait is true and thelock could not be immediately acquired, returns
372+
*false without flushing the entry. Otherwise returns true.
373373
*/
374374
bool
375375
pgstat_database_flush_cb(PgStat_EntryRef*entry_ref,boolnowait)

‎src/backend/utils/activity/pgstat_function.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ pgstat_end_function_usage(PgStat_FunctionCallUsage *fcu, bool finalize)
186186
/*
187187
* Flush out pending stats for the entry
188188
*
189-
* If nowait is true, this function returns false iflock could not
190-
*immediately acquired, otherwise true is returned.
189+
* If nowait is true and thelock could not be immediately acquired, returns
190+
*false without flushing the entry. Otherwise returns true.
191191
*/
192192
bool
193193
pgstat_function_flush_cb(PgStat_EntryRef*entry_ref,boolnowait)

‎src/backend/utils/activity/pgstat_relation.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -761,8 +761,8 @@ pgstat_twophase_postabort(TransactionId xid, uint16 info,
761761
/*
762762
* Flush out pending stats for the entry
763763
*
764-
* If nowait is true, this function returns false iflock could not
765-
*immediately acquired, otherwise true is returned.
764+
* If nowait is true and thelock could not be immediately acquired, returns
765+
*false without flushing the entry. Otherwise returns true.
766766
*
767767
* Some of the stats are copied to the corresponding pending database stats
768768
* entry when successfully flushing.

‎src/backend/utils/activity/pgstat_subscription.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ pgstat_fetch_stat_subscription(Oid subid)
8181
/*
8282
* Flush out pending stats for the entry
8383
*
84-
* If nowait is true, this function returns false iflock could not
85-
*immediately acquired, otherwise true is returned.
84+
* If nowait is true and thelock could not be immediately acquired, returns
85+
*false without flushing the entry. Otherwise returns true.
8686
*/
8787
bool
8888
pgstat_subscription_flush_cb(PgStat_EntryRef*entry_ref,boolnowait)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp