mirror of
https://github.com/dimitri/pgloader.git
synced 2026-01-21 15:11:01 +01:00
12 lines
295 B
Bash
Executable File
12 lines
295 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
case $USER in
|
|
root) PGSUPERUSER=postgres ;;
|
|
*) PGSUPERUSER=$USER ;;
|
|
esac
|
|
|
|
# use trust authentication to avoid scram failures on bullseye/buster/stretch/impish/focal/bionic
|
|
PGLOADER=pgloader PGSUPERUSER=$PGSUPERUSER pg_virtualenv -i'-Atrust' make -C test prepare regress
|