fixes
This commit is contained in:
parent
189803d24d
commit
06c837b244
1 changed files with 5 additions and 5 deletions
10
flake.nix
10
flake.nix
|
|
@ -32,8 +32,7 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# PostgreSQL 17 with PostGIS installed into PostgreSQL's
|
# PostgreSQL 17 with PostGIS in the PostgreSQL extension path.
|
||||||
# extension path.
|
|
||||||
postgresql = pkgs.postgresql_17.withPackages (
|
postgresql = pkgs.postgresql_17.withPackages (
|
||||||
ps: [
|
ps: [
|
||||||
ps.postgis
|
ps.postgis
|
||||||
|
|
@ -101,8 +100,9 @@
|
||||||
# ============================================================
|
# ============================================================
|
||||||
# Start PostgreSQL
|
# Start PostgreSQL
|
||||||
#
|
#
|
||||||
# No TCP listener. The development database is accessed
|
# PostgreSQL is deliberately restricted to the Unix socket.
|
||||||
# exclusively through the Unix socket in .pgsocket.
|
# No TCP/IP listener is opened, so there are no port conflicts
|
||||||
|
# with another local PostgreSQL instance.
|
||||||
# ============================================================
|
# ============================================================
|
||||||
|
|
||||||
if ! pg_ctl \
|
if ! pg_ctl \
|
||||||
|
|
@ -116,7 +116,7 @@
|
||||||
pg_ctl \
|
pg_ctl \
|
||||||
-D "$PGDATA" \
|
-D "$PGDATA" \
|
||||||
-l "$PGDATA/postgresql.log" \
|
-l "$PGDATA/postgresql.log" \
|
||||||
-o "-k $PGHOST" \
|
-o "-c listen_addresses= -k $PGHOST" \
|
||||||
start \
|
start \
|
||||||
>/dev/null
|
>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue