-
Notifications
You must be signed in to change notification settings - Fork 54
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
List text search configs \dF #76
Conversation
b6a963f
to
a1372cf
Compare
Ok it's done now. Works beautifully. In theory I rebased and then had to force-push. I'm still fairly new to git so I'm always a bit nervous about force-pushing... |
I get an error on
|
So much for saying it works beautifully... Lesson learned |
I'm writing tests for these. Should be done again by the end of the day. |
This PR is ready. Unrelated question: if I see something worth improving/changing, should I open an issue first and then a PR or should I go straight for a PR and explain the rationale there? |
No need to open the issue just for the sake of it, just do the PR. |
The unit tests on your branch fail on pep8 checks. How to fix:
|
Thanks for the heads-up. Done. |
Codecov Report
@@ Coverage Diff @@
## master #76 +/- ##
=========================================
Coverage ? 54.25%
=========================================
Files ? 6
Lines ? 1047
Branches ? 0
=========================================
Hits ? 568
Misses ? 479
Partials ? 0
Continue to review full report at Codecov.
|
Very nice! I ran into one case where things are still breaking:
I'm not providing a correct pattern, but we still want to handle this case. Looks like you aaalmost there! |
I could really use some insight as to why this is happening. I know the issue is raised by pgcli and not pgspecial, but giving pgcli a read I cannot understand how this could be happening. My intuition tells me it has to do with nested generators, but I'm really lost here. |
@igncampa Yes, it must be a problem with generator logic somewhere. I'll try to take a look as soon as I can. |
I think dbc543f fixes the problem. |
Yep, you're right. I tested it on multiple environments and it does work wonderfully now. Thanks! |
Ok, I'm happy with this PR. I'll have a new release out soon. Thank you! 🍫 |
Should close dbcli/pgcli#887 when it's done
adds the command
\dF
to list text search configurations