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

Add ability to see custom enum values #437

Open
sosedoff opened this issue Jul 18, 2019 · 1 comment
Open

Add ability to see custom enum values #437

sosedoff opened this issue Jul 18, 2019 · 1 comment

Comments

@sosedoff
Copy link
Owner

Example query:

SELECT n.nspname AS "schema", t.typname, string_agg(e.enumlabel, '|' ORDER BY e.enumsortorder) AS enum_labels
FROM   pg_catalog.pg_type t 
JOIN   pg_catalog.pg_namespace n ON n.oid = t.typnamespace 
JOIN   pg_catalog.pg_enum e ON t.oid = e.enumtypid  
WHERE  t.typname = 'NAME'
GROUP  BY 1,2;
@tsbriggs02
Copy link

I came here to request this exact feature. I know, I can just issue the query above, but it would be great to have it in the UI...

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