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

Support for mclient (monetdb) #140

Closed
muhmud opened this issue Jul 21, 2020 · 11 comments
Closed

Support for mclient (monetdb) #140

muhmud opened this issue Jul 21, 2020 · 11 comments

Comments

@muhmud
Copy link

muhmud commented Jul 21, 2020

Was wondering if there would be a simple way to get pspg to work with mclient? The table format is slightly different, i.e. the bottom part of the header row is a set of equals signs, rather than dashes:

+-------+------------------------------------+-----------+-----------------------------------------------------------------------------------
| id    | name                               | schema_id | query                                                                             
+=======+====================================+===========+===================================================================================
|  2001 | schemas                            |      2000 | null                                                                              
|  2007 | types                              |      2000 | null                                                                              
|  2016 | functions                          |      2000 | null                                                                              
|  2028 | args                               |      2000 | null                                                                              

When I use pspg, I don't see the table at all, just the row count from the end of the output.

@okbob
Copy link
Owner

okbob commented Jul 21, 2020 via email

@muhmud
Copy link
Author

muhmud commented Jul 21, 2020

output.txt

Here you go, thanks!

@okbob
Copy link
Owner

okbob commented Jul 21, 2020 via email

@muhmud
Copy link
Author

muhmud commented Jul 21, 2020

It works!

@okbob
Copy link
Owner

okbob commented Jul 21, 2020 via email

@muhmud
Copy link
Author

muhmud commented Jul 21, 2020

Cool, yes, it's definitely got me going; thanks for looking at it so quickly!

@okbob
Copy link
Owner

okbob commented Jul 21, 2020 via email

@okbob okbob closed this as completed Jul 21, 2020
@muhmud
Copy link
Author

muhmud commented Jul 27, 2020

Hey @okbob ,

One issue I've seen is that if I try to view the definition of a table when the pager is active, it only shows me the first line. If I unset the pager I can see the full definition.

I've attached an example of the output.

table-definition.txt

@okbob
Copy link
Owner

okbob commented Jul 27, 2020 via email

@muhmud
Copy link
Author

muhmud commented Jul 27, 2020

👍

Works perfectly, thanks mate!

@okbob
Copy link
Owner

okbob commented Jul 27, 2020 via email

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

No branches or pull requests

2 participants