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

Commit2aeee15

Browse files
Marina Polyakovapashkinelfe
Marina Polyakova
authored andcommitted
PGPRO-5826: fix build for PostgreSQL 14.1
The previous code did not work for PostgreSQL 14.1 because the signature of thefunction shm_mq_send was changed only in PostgreSQL 15devel which hasPG_VERSION_NUM = 150000.
1 parentdd68597 commit2aeee15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎pg_query_state.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ SendBgWorkerPids(void)
895895
msg->pids[i++]=current_pid;
896896
}
897897

898-
#ifPG_VERSION_NUM <=140000
898+
#ifPG_VERSION_NUM<150000
899899
shm_mq_send(mqh,msg_len,msg, false);
900900
#else
901901
shm_mq_send(mqh,msg_len,msg, false, true);

‎signal_handler.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ shm_mq_send_nonblocking(shm_mq_handle *mqh, Size nbytes, const void *data, Size
168168

169169
for(i=0;i<attempts;i++)
170170
{
171-
#ifPG_VERSION_NUM <=140000
171+
#ifPG_VERSION_NUM<150000
172172
res=shm_mq_send(mqh,nbytes,data, true);
173173
#else
174174
res=shm_mq_send(mqh,nbytes,data, true, true);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp