Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized configuration parameter "stream_targets" #2051

Open
ar-anvd opened this issue Apr 20, 2019 · 1 comment
Open

Unrecognized configuration parameter "stream_targets" #2051

ar-anvd opened this issue Apr 20, 2019 · 1 comment

Comments

@ar-anvd
Copy link

ar-anvd commented Apr 20, 2019

I am using this code directly from the documentation. However is not not working, since I am getting:

ERROR: unrecognized configuration parameter "stream_targets"

CREATE FOREIGN TABLE stream (x integer, y integer) SERVER pipelinedb;
CREATE VIEW v0 AS SELECT COUNT(*) FROM stream;
CREATE VIEW v1 AS SELECT COUNT(*) FROM stream;
SET stream_targets TO v0; 

What I am trying to achieve is just set a specific view . Not sure If I am doing something wrong.

@ar-anvd ar-anvd changed the title unrecognized configuration parameter "stream_targets" Unrecognized configuration parameter "stream_targets" Apr 20, 2019
@ar-anvd
Copy link
Author

ar-anvd commented Apr 20, 2019

After see this file, aparently the example is just wrong

https://github.com/pipelinedb/pipelinedb/blob/526a6f4c9a1cc4a054d4efb53cf5c92180979303/src/test/regress/sql/stream_targets.sql

Should be SET SESSION pipelinedb.stream_targets TO v0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant