title: Can you have a dbt model config block apply to only one type of database (e.g. postgresql)?
body: <p>In my dbt model definition, I want to run a config block, but only if the database type is postgresql. Is there a way to do that? Example model below:</p>
  <pre><code>{{
    config(
      post_hook='create index if not exists &quot;{{ this.name }}__idx_on_key&quot; on {{ this }} (&quot;key&quot;)'
    )
  }}
  
  select * from {{ ref('stg_customer') }}
  </code></pre>