File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 5151 EOF
5252 sudo mv ./pgdg.pref /etc/apt/preferences.d/
5353 sudo apt update
54-
54+
5555 - name : Add PostgreSQL APT repository
5656 run : |
5757 sudo apt-get purge postgresql-*
9595 sudo -u postgres psql -p ${PGPORT} -c "CREATE ROLE \"${PG_RUNNER_USER}\" WITH LOGIN SUPERUSER;"
9696 sudo -u postgres psql -p ${PGPORT} -c "CREATE DATABASE \"${PG_RUNNER_USER}\";"
9797 psql -c "CREATE DATABASE ___pgr___test___;"
98+ psql -d ___pgr___test___ -c 'CREATE FUNCTION add(integer, integer) RETURNS integer AS $$SELECT $1 + $2;$$ LANGUAGE SQL IMMUTABLE RETURNS NULL ON NULL INPUT;'
99+ psql -d ___pgr___test___ -c "SELECT add(3,4) END;"
98100 bash ./tools/testers/pg_prove_tests.sh ${PG_RUNNER_USER} ${PGPORT} Release
99101 psql -c "DROP DATABASE IF EXISTS ___pgr___test___;"
You can’t perform that action at this time.
0 commit comments