Installing PostgreSQL via Herd Pro
PostgreSQL is a powerful, open-source object-relational database system that is known for its reliability and robustness. Laravel Herd Pro extends PostgreSQL by providing a number of popular extensions:- PostGIS - adds support for geographic objects to the PostgreSQL database, making it easy to store and query spatial data.
- pgrouting - adds routing functionality to PostgreSQL, allowing you to calculate the shortest path between two points.
- pgvector - a vector similarity search extension for PostgreSQL, which allows you to search for (among other things) OpenAI embeddings in your database.
Configuration
Herd uses a common default configuration for your PostgreSQL instance that works seamlessly for most setups, and you can change the port of the service to run it in parallel to existing installations on your machine. Enabling the autostart option automatically starts a service instance when you start Herd. If you want to modify the settings of the database, you can right-click the service in the settings and open its data directory. In this data directory, there is apostgresql.conf that this specific PostgreSQL instance loads on startup.
Make sure to restart the service if you make changes to this configuration.