Skip to content

Include schema name on each change #59

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

Conversation

ruimarinho
Copy link
Contributor

@ruimarinho ruimarinho commented Jun 2, 2016

This PR introduces the schema name on each change so that there is no need to store state between changes.

Not sure if "schema name" or "table name" is more appropriate for this PR.

empty_oid,
datum);
let json =
pg::DirectFunctionCall1Coll(Some(row_to_json), empty_oid, datum);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rustfmt was complaining about this, but I can add on a different PR.

Copy link
Collaborator

@solidsnack solidsnack Jun 2, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally fine. I remember having seen that one. Thank you for fixing it.

@solidsnack
Copy link
Collaborator

We should flip the order of table and schema in the schema lines, so that the unique, indicative token is first in all lines.

@posix4e
Copy link
Owner

posix4e commented Jun 2, 2016

+1

@posix4e
Copy link
Owner

posix4e commented Jun 2, 2016

Err +1 on solid's comment

@ruimarinho
Copy link
Contributor Author

I will do that then. Not sure why the tests are failing on travis - they pass locally. I'll take a look.

@solidsnack
Copy link
Collaborator

@ruimarinho It fails because some tests are missing relative to master. If you rebase and include results from the new tests it should fix the issue.

@posix4e
Copy link
Owner

posix4e commented Jun 2, 2016

Please rebate this

@ruimarinho ruimarinho force-pushed the enhancement/include-schema-name-on-each-change branch from 85eab1a to 13e1ea0 Compare June 2, 2016 23:31
@ruimarinho
Copy link
Contributor Author

Rebased and also inverted order of schema and table fields.

@solidsnack solidsnack merged commit 8a4ba0d into posix4e:master Jun 4, 2016
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.

3 participants