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

strange view of boolean array #735

Closed
Quake4 opened this issue May 8, 2024 · 5 comments
Closed

strange view of boolean array #735

Quake4 opened this issue May 8, 2024 · 5 comments

Comments

@Quake4
Copy link

Quake4 commented May 8, 2024

image

I would like to see it as in column 4.

And why doesn't array have square brackets '[]', but curly '{}'?

@sosedoff
Copy link
Owner

Im not sure what's the problem here. psql returns the same exact output:

Screenshot 2024-05-22 at 7 57 21 PM

@Quake4
Copy link
Author

Quake4 commented May 23, 2024

Well, you completely output true and false as values. Why repeat controversial solutions in array?
Even they have an define array with square brackets (array[true,false]), and the output is incomprehensible ;)

@sosedoff
Copy link
Owner

Formatting is not something Pgweb does, its dependency lib/pq is responsible for it.

@Quake4
Copy link
Author

Quake4 commented May 28, 2024

see what you can do with bool values in arrays, at least replace t and f with true and false.

@sosedoff
Copy link
Owner

I don't have much interest in adding such a feature, its really not big of a deal to me. You're more than welcome to submit a patch to lib/pg, or pgweb projects if you really think its going to benefit larger audience.

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