Does anyone know the commands to get the pgsql extension installed on a Mac? Trying to use Homebrew but no luck. I suspect the commands or way I'm trying to get the extension are incorrect.
I tried:
brew install php@7.3-pgsql
brew install php--with-pgsql[=DIR]
brew install php@7.3-pdo-pgsql
Current version of PHP: 7.3.24 Mac: Big Sur
Specifically need pdo_pgsql extension.