Fix typo in cost.h
Started by Tang, Haiyingabout 5 years ago2 messages
Hi
Found a possible typo in cost.h
-/* If you change these, update backend/utils/misc/postgresql.sample.conf */
+/* If you change these, update backend/utils/misc/postgresql.conf.sample */
Best regards,
Tang
Attachments:
0001-fix-typo.patchapplication/octet-stream; name=0001-fix-typo.patchDownload
From f7a39929dfe7354063379151c5b13dd5f30ccaab Mon Sep 17 00:00:00 2001
From: tanghy <tanghy.fnst@cn.fujitsu.com>
Date: Mon, 30 Nov 2020 12:06:52 +0900
Subject: [PATCH] fix typo
diff --git a/src/include/optimizer/cost.h b/src/include/optimizer/cost.h
index 6141654e47..8e621d2f76 100644
--- a/src/include/optimizer/cost.h
+++ b/src/include/optimizer/cost.h
@@ -20,7 +20,7 @@
/* defaults for costsize.c's Cost parameters */
/* NB: cost-estimation code should use the variables, not these constants! */
-/* If you change these, update backend/utils/misc/postgresql.sample.conf */
+/* If you change these, update backend/utils/misc/postgresql.conf.sample */
#define DEFAULT_SEQ_PAGE_COST 1.0
#define DEFAULT_RANDOM_PAGE_COST 4.0
#define DEFAULT_CPU_TUPLE_COST 0.01
--
2.27.0.windows.1
Re: Fix typo in cost.h
On 2020/11/30 12:15, Tang, Haiying wrote:
Hi
Found a possible typo in cost.h
-/* If you change these, update backend/utils/misc/postgresql.sample.conf */ +/* If you change these, update backend/utils/misc/postgresql.conf.sample */
Pushed. Thanks!
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION