r-rpostgres: print psql log to stdout in tests

Also accept connections only on the unix domain socket.
This commit is contained in:
Pekka Ristola 2023-09-11 21:51:35 +03:00
parent ff623b45d2
commit 49f4241d24
No known key found for this signature in database
GPG key ID: 2C20BE716E05213E

View file

@ -62,7 +62,7 @@ check() {
export PGHOST="$(pwd)/host"
mkdir host
initdb
pg_ctl -l postgres.log -o "-k ${PGHOST@Q}" start
pg_ctl -o "-h '' -k ${PGHOST@Q}" start
createdb
R_LIBS="$srcdir/build" NOT_CRAN=true Rscript --vanilla testthat.R