Skip to content

Instantly share code, notes, and snippets.

@ghl3
Created March 19, 2013 23:50
Show Gist options
  • Select an option

  • Save ghl3/5201220 to your computer and use it in GitHub Desktop.

Select an option

Save ghl3/5201220 to your computer and use it in GitHub Desktop.
Get set of keys from an hstore
SELECT DISTINCT k FROM (SELECT skeys(our_database) as k FROM risk_profile) as dt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment