We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b8f92 commit 65145d0Copy full SHA for 65145d0
src/test/modules/test_dsm_registry/test_dsm_registry.c
@@ -54,7 +54,7 @@ set_val_in_shmem(PG_FUNCTION_ARGS)
54
tdr_attach_shmem();
55
56
LWLockAcquire(&tdr_state->lck, LW_EXCLUSIVE);
57
- tdr_state->val = PG_GETARG_UINT32(0);
+ tdr_state->val = PG_GETARG_INT32(0);
58
LWLockRelease(&tdr_state->lck);
59
60
PG_RETURN_VOID();
@@ -72,5 +72,5 @@ get_val_in_shmem(PG_FUNCTION_ARGS)
72
ret = tdr_state->val;
73
74
75
- PG_RETURN_UINT32(ret);
+ PG_RETURN_INT32(ret);
76
}
0 commit comments