pgagent extension should be created only EPAS < 17.

This commit is contained in:
Akshay Joshi 2024-12-12 16:49:11 +05:30
parent ae9d324f8f
commit 4e2fd404c0
2 changed files with 7 additions and 3 deletions

View File

@ -61,7 +61,9 @@ jobs:
sleep 2 sleep 2
done done
psql -U enterprisedb -d postgres -p 58${{ matrix.pgver }} -c 'CREATE EXTENSION IF NOT EXISTS pgagent;' - name: Create pgagent extension on Linux
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.pgver <= 16 }}
run: psql -U enterprisedb -d postgres -p 58${{ matrix.pgver }} -c 'CREATE EXTENSION IF NOT EXISTS pgagent;'
- name: Install Python dependencies - name: Install Python dependencies
run: make install-python-testing run: make install-python-testing

View File

@ -101,8 +101,10 @@ jobs:
>&2 echo "EPAS is unavailable - sleeping for 2 seconds" >&2 echo "EPAS is unavailable - sleeping for 2 seconds"
sleep 2 sleep 2
done done
psql -U enterprisedb -d postgres -p 58${{ matrix.pgver }} -c 'CREATE EXTENSION IF NOT EXISTS pgagent;' - name: Create pgagent extension on Linux
if: ${{ matrix.os == 'ubuntu-22.04' && matrix.pgver <= 16 }}
run: psql -U enterprisedb -d postgres -p 58${{ matrix.pgver }} -c 'CREATE EXTENSION IF NOT EXISTS pgagent;'
- name: Install Python dependencies on Linux - name: Install Python dependencies on Linux
if: ${{ matrix.os == 'ubuntu-22.04' }} if: ${{ matrix.os == 'ubuntu-22.04' }}