title: Redshift - extracting constraints
body: <p>How to get exported keys (database metadata).Even though redshift does not support foreign keys and primary keys I am able to see them in system tables.
  The problem here is in the system table the multiple columns of a foreign key exist as an array in one column(though redshift doesn't support arrays). Is it possible to extract them in one query.</p>