Skip to content

Feature: max-connections parameter #66

Description

@bkoelman

When running a large number of tests, it is often desirable to increase the max_connections parameter of the server. For example:

    - name: Setup PostgreSQL
      uses: ikalnytskyi/action-setup-postgres@v8
      with:
        username: postgres
        password: postgres

    - name: Configure PostgreSQL
      shell: bash
      run: |
        PGDATA="$RUNNER_TEMP/pgdata"
        echo "max_connections = 500" >> "$PGDATA/postgresql.conf"
        pg_ctl restart --pgdata="$PGDATA" --wait

It would be nice if this action could provide a parameter for that, so I can just use:

    - name: Setup PostgreSQL
      uses: ikalnytskyi/action-setup-postgres@v8
      with:
        username: postgres
        password: postgres
        max_connections: 500

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions