Skip to content

runhaskell test failure PostgREST 11.2 #2950

Answered by steve-chavez
Vekhir asked this question in Q&A
Discussion options

You must be logged in to vote

Can you use Nix to setup a dev environment and run the tests? https://github.com/PostgREST/postgrest/blob/main/nix/README.md

That should ensure PGUSER is set.

Otherwise try something like:

psql -U "${superuserRole}" -v PGUSER="$PGUSER" -v ON_ERROR_STOP=1 -f "$_arg_fixtures" >> "$setuplog"

That is, set the missing variable with -v PGUSER="..".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wolfgangwalther
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2948 on September 14, 2023 20:27.