Skip to content

range.sql: drop redundant check for existing tables #19

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

Merged
merged 1 commit into from
Jul 6, 2016

Conversation

saaros
Copy link
Contributor

@saaros saaros commented Jul 6, 2016

The check is always false as v_child_relname is schema-qualified while the
comparison is to a plain table name. The entire check can be removed
instead of fixing it as a few lines above we have a loop which comes up with
a unique name.

The check is always false as v_child_relname is schema-qualified while the
comparison is to a plain table name.  The entire check can be removed
instead of fixing it as a few lines above we have a loop which comes up with
a unique name.
@zilder
Copy link
Collaborator

zilder commented Jul 6, 2016

Yes, you are right. Actually the child relname check was moved into the loop above. I've just forget to remove it : )

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

Successfully merging this pull request may close these issues.

2 participants