title: Postgresql - Using subqueries with alter sequence expressions
body: <p>Is it possible to use subqueries within alter expressions in PostgreSQL?</p>
  <p>I want to alter a sequence value based on a primary key column value.</p>
  <p>I tried using the following expression, but it wouldn't execute.</p>
  <pre><code>alter sequence public.sequenceX restart with (select max(table_id)+1 from table)
  </code></pre>