summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorRichard Guo <rguo@postgresql.org>2025-10-03 16:34:42 +0900
committerRichard Guo <rguo@postgresql.org>2025-10-03 16:34:42 +0900
commit605bfb7dbe5d952b91b92d8b7b98cef549dab36c (patch)
tree563b5bec847c826c9b9e2d8a2e6e2d4fba8cec52 /src/backend
parent902c08887aa183100b161ef48f1a2434af079213 (diff)
Fix incorrect function reference in comment
The comment incorrectly references the defunct function BufFileOpenShared(), which was replaced in commit dcac5e7ac. This patch updates the comment to refer to the current function BufFileOpenFileSet(). Author: Zhang Mingli <zmlpostgres@gmail.com> Reviewed-by: wenhui qiu <qiuwenhuifx@gmail.com> Reviewed-by: Richard Guo <guofenglinux@gmail.com> Discussion: https://postgr.es/m/1cb48b4c-54ab-40cc-b355-0b3c2af6d3f7@Spark
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/utils/sort/logtape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/sort/logtape.c b/src/backend/utils/sort/logtape.c
index e529ceb8260..452d89a8c0f 100644
--- a/src/backend/utils/sort/logtape.c
+++ b/src/backend/utils/sort/logtape.c
@@ -681,7 +681,7 @@ LogicalTapeCreate(LogicalTapeSet *lts)
{
/*
* The only thing that currently prevents creating new tapes in leader is
- * the fact that BufFiles opened using BufFileOpenShared() are read-only
+ * the fact that BufFiles opened using BufFileOpenFileSet() are read-only
* by definition, but that could be changed if it seemed worthwhile. For
* now, writing to the leader tape will raise a "Bad file descriptor"
* error, so tuplesort must avoid writing to the leader tape altogether.