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

Postgres: AppendToStream.sql where-clause typo #288

Closed
jeffijoe opened this issue Jul 4, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@jeffijoe
Copy link

commented Jul 4, 2019

Spelunking through the PGSQL files, I found something that looked peculiar. I confirmed with @thefringeninja that this is a bug.

(SELECT __schema__.streams.version FROM __schema__.streams WHERE _stream_id_internal = _stream_id_internal) > 0

The WHERE clause is checking _stream_id_internal against itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.