public inbox for [email protected]
help / color / mirror / Atom feedFix typo in import_pg_statistic() comment
2+ messages / 2 participants
[nested] [flat]
* Fix typo in import_pg_statistic() comment
@ 2026-04-09 13:02 Ilia Evdokimov <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Ilia Evdokimov @ 2026-04-09 13:02 UTC (permalink / raw)
To: PostgreSQL Hackers <[email protected]>
Hi hackers,
There is a small typo in a comment for import_pg_statistic(): "swicthed"
-> "switched".
This patch fixes it.
--
Best regards,
Ilia Evdokimov,
Tantor Labs LLC,
https://tantorlabs.com/
Attachments:
[text/x-patch] v1-0001-There-is-a-small-typo-in-a-comment-for-import_pg_.patch (1.1K, 2-v1-0001-There-is-a-small-typo-in-a-comment-for-import_pg_.patch)
download | inline diff:
From b2528f67f03b3489750219d2ab7a209814f4f774 Mon Sep 17 00:00:00 2001
From: Evdokimov Ilia <[email protected]>
Date: Thu, 9 Apr 2026 16:01:46 +0300
Subject: [PATCH v1] There is a small typo in a comment for
import_pg_statistic(): "swicthed" -> "switched".
---
src/backend/statistics/extended_stats_funcs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/statistics/extended_stats_funcs.c b/src/backend/statistics/extended_stats_funcs.c
index 9279904b465..0b8f149938c 100644
--- a/src/backend/statistics/extended_stats_funcs.c
+++ b/src/backend/statistics/extended_stats_funcs.c
@@ -1091,7 +1091,7 @@ array_in_safe(FmgrInfo *array_in, const char *s, Oid typid, int32 typmod,
* still return a legit tuple datum.
*
* Set pg_statistic_ok to true if all of the values found in the container
- * were imported without issue. pg_statistic_ok is swicthed to "true" once
+ * were imported without issue. pg_statistic_ok is switched to "true" once
* the full pg_statistic tuple has been built and validated.
*/
static Datum
--
2.34.1
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Fix typo in import_pg_statistic() comment
@ 2026-04-10 04:37 Michael Paquier <[email protected]>
parent: Ilia Evdokimov <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Michael Paquier @ 2026-04-10 04:37 UTC (permalink / raw)
To: Ilia Evdokimov <[email protected]>; +Cc: PostgreSQL Hackers <[email protected]>
On Thu, Apr 09, 2026 at 04:02:55PM +0300, Ilia Evdokimov wrote:
> There is a small typo in a comment for import_pg_statistic(): "swicthed" ->
> "switched".
Thanks. Grabbed this one for later.
--
Michael
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-04-10 04:37 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-04-09 13:02 Fix typo in import_pg_statistic() comment Ilia Evdokimov <[email protected]>
2026-04-10 04:37 ` Michael Paquier <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox