File: concurrency

package info (click to toggle)
pg-squeeze 1.9.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: ansic: 4,408; sql: 679; python: 314; makefile: 21; sh: 15
file content (14 lines) | stat: -rwxr-xr-x 277 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

case $USER in
	root) USER=postgres ;;
esac

pg_buildext \
	-o 'shared_preload_libraries=pg_squeeze' \
	-o 'wal_level=logical' \
	virtualenv << EOF
		set -eux
		psql -c 'create extension pg_squeeze'
		test/concurrency --user $USER --host \$PGHOST --port \$PGPORT
EOF