diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-03-18 13:30:19 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-03-18 13:30:19 -0400 |
commit | c676ac0f3fc87911588ca8e5f92483d1671ba89f (patch) | |
tree | 39d9a7c52129f4c2ddc1862b4cc127e4bab68dc5 /contrib/test_shm_mq/test.c | |
parent | 49c0864d7ef5227faa24f903902db90e5c9d5d69 (diff) | |
download | postgresql-c676ac0f3fc87911588ca8e5f92483d1671ba89f.tar.gz postgresql-c676ac0f3fc87911588ca8e5f92483d1671ba89f.zip |
test_shm_mq: Use Size rather than uint64.
Commit 3bd261ca18c67eafe18088e58fab511e3b965418 updated the API but
neglected to make the corresponding edits here.
Per Tom Lane and the buildfarm.
Diffstat (limited to 'contrib/test_shm_mq/test.c')
-rw-r--r-- | contrib/test_shm_mq/test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/test_shm_mq/test.c b/contrib/test_shm_mq/test.c index 59f18ec1a1e..dba5e692e4d 100644 --- a/contrib/test_shm_mq/test.c +++ b/contrib/test_shm_mq/test.c @@ -26,7 +26,7 @@ void _PG_init(void); Datum test_shm_mq(PG_FUNCTION_ARGS); Datum test_shm_mq_pipelined(PG_FUNCTION_ARGS); -static void verify_message(uint64 origlen, char *origdata, uint64 newlen, +static void verify_message(Size origlen, char *origdata, Size newlen, char *newdata); /* @@ -50,7 +50,7 @@ test_shm_mq(PG_FUNCTION_ARGS) shm_mq_handle *outqh; shm_mq_handle *inqh; shm_mq_result res; - uint64 len; + Size len; void *data; /* A negative loopcount is nonsensical. */ @@ -142,7 +142,7 @@ test_shm_mq_pipelined(PG_FUNCTION_ARGS) shm_mq_handle *outqh; shm_mq_handle *inqh; shm_mq_result res; - uint64 len; + Size len; void *data; /* A negative loopcount is nonsensical. */ @@ -247,9 +247,9 @@ test_shm_mq_pipelined(PG_FUNCTION_ARGS) * Verify that two messages are the same. */ static void -verify_message(uint64 origlen, char *origdata, uint64 newlen, char *newdata) +verify_message(Size origlen, char *origdata, Size newlen, char *newdata) { - uint64 i; + Size i; if (origlen != newlen) ereport(ERROR, |