title: How to determine if a table has Timescale enabled and on which columns?
body: <p>I have a <a href="https://www.timescale.com/" rel="nofollow noreferrer">Timescale</a> database that someone else created.</p>
  
  <ol>
  <li>How do I determine if <code>create_hypertable</code> was called on a table ?</li>
  </ol>
  
  <p>For now I use this, but there must be a better way:</p>
  
  <pre><code>SELECT * FROM hypertable_relation_size('public.data');
  </code></pre>
  
  <ol start="2">
  <li>And if <code>create_hypertable</code> was called on a table, which parameters (including chunk_time_interval) were used when calling <code>create_hypertable</code> ?</li>
  </ol>
  
  <p>(In some cases there is a from_date and to_date)</p>