title: Can't install Postgresql in M1 Mac without using Rosetta
body: <p>I'm trying to use sql with diesel in an arm64 process trust. So I did the disel setup and got the following error. In other words, I think I need to use postgresql for arm64.
  How should I install it?</p>
  <pre><code>dyld: Library not loaded: @rpath/libpq.5.dylib
    Referenced from: /Users/~~/.cargo/bin/diesel
    Reason: no suitable image found.  Did find:
      /Applications/Postgres.app/Contents/Versions/13/lib/libpq.5.dylib: mach-o, but wrong architecture
      /Applications/Postgres.app/Contents/Versions/13/lib/libpq.5.dylib: stat() failed with errno=1
  [1]    51392 abort      diesel setup　
  </code></pre>
  <p>When I ran the following command, I received the following error</p>
  <pre><code>arch -arm64 brew install postgresql
  </code></pre>
  <pre><code>Please create a new installation in /opt/homebrew using one of the
  &quot;Alternative Installs&quot; from:
    https://docs.brew.sh/Installation
  You can migrate your previously installed formula list with:
    brew bundle dump
  </code></pre>
  <p>How do I install it?</p>