pipelinedb / pipeline_kafka

PipelineDB extension for Kafka support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile error:stream_copy_hook not defined

miaojianxin opened this issue · comments

when i compile the latest pipeline_kafka code ,the pipelinedb is1.0.0. ,postgresql is 10.3,
i got the compile error:
pipeline_kafka.c:1485:2: 错误:‘stream_copy_hook’未声明(在此函数内第一次使用)
stream_copy_hook = copy_iter_hook;

that means the stream_copy_hook not defined, how can i do , thank you

@miaojianxin can you make sure you have the latest PipelineDB package revision? stream_copy_hook was added in package revision 9 so you're probably using an earlier revision.

yes, iuse the latest master branch, get the code from download https://github.com/pipelinedb/pipeline_kafka.git

@miaojianxin I'm actually referring to PipelineDB, not pipeline_kafka. You need to install a PipelineDB package >= revision 9. For example, the latest package revision is 11, which you can download from our release archives:

https://github.com/pipelinedb/pipelinedb/releases/tag/1.0.0-11

You can also just install the latest package from our apt/yum repos which will pick up the latest revision.

The PipelineDB package revision you are running does not have stream_copy_hook.

ok, i got it ,thank you