Hello,
The documentation for chirpstack v4 does not mention Postgresql as one of its integrations, however the documentation for the configuration of chirpstack Configuration - ChirpStack open-source LoRaWAN® Network Server documentation includes an example of how to configure a postgresql integration.
Is that supposed to work? I tried it and see no database being created.