sql - pg_ctl: no database directory specified and environment variable PGDATA unset - Stack Overflow

PHOTO EMBED

Fri Jul 15 2022 10:29:07 GMT+0000 (UTC)

Saved by @sebherrerabe #sql

 set $PGDATA = [directory location here]
content_copyCOPY

https://stackoverflow.com/questions/44762526/pg-ctl-no-database-directory-specified-and-environment-variable-pgdata-unset