-
Notifications
You must be signed in to change notification settings - Fork 22
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
Possible to execute the 'slash' commands on postgres? \d \dt \list #57
Comments
Hi @jameshowison, thanks for opening the issue. But in case you or anyone would like to tackle this issue, here are some tips:
If you need any help, feel free to open issues here or contact me on a synchronous way. |
Thanks for the guidance. I don't think I can implement that, but I am trying to bring it someone's attention who might be able to. Just for additional insight, one of the reasons that this is crucial is that one cannot switch databases in xeus-sql, one has to know to reconnect to change databases. That's because that requires the The consequence of this is that currently in xeus-sql if you connect and use So one would have to do:
then reconnect to change to that database.
then create the tables:
I guess once one knows this it's not too bad :) |
If SOCI doesn't offer this kind of stuff we can encapsulate this nicely by calling |
Postgres uses commands starting with a \ char, but these don't seem to execute in xues-sql. e.g.,
which should show all databases the user can see on the server, but it gives this error:
Same for the commonly used \d and \dt.
The text was updated successfully, but these errors were encountered: