You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the n_distinct column from pg_stats create a wrapper function that analyzes a table specified by parameters and returns the distinctness of the data in the columns. This can be used to identify primary and unique keys for database refactoring.