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

Commit9165134

Browse files
committed
Use correct type for pq_mq_parallel_leader_proc_number variable
It's a ProcNumber, not a process id. Both are integers, so it'sharmless, but clearly wrong. It's been wrong since forever, themistake has survived through a couple of refactorings already.Spotted-by: Thomas MunroDiscussion:https://www.postgresql.org/message-id/CA+hUKGKPTLSGMyE4Brin-osY8omPLNXmVWDMfrRABLp=6QrR_Q@mail.gmail.com
1 parent86db52a commit9165134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/libpq/pqmq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
staticshm_mq_handle*pq_mq_handle;
2727
staticboolpq_mq_busy= false;
2828
staticpid_tpq_mq_parallel_leader_pid=0;
29-
staticpid_tpq_mq_parallel_leader_proc_number=INVALID_PROC_NUMBER;
29+
staticProcNumberpq_mq_parallel_leader_proc_number=INVALID_PROC_NUMBER;
3030

3131
staticvoidpq_cleanup_redirect_to_shm_mq(dsm_segment*seg,Datumarg);
3232
staticvoidmq_comm_reset(void);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp