Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
strategy:
matrix:
pg: [16, 15, 14, 13, 12, 11, 10, 9.6]
pg: [19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9.6]
name: 🐘 PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
Expand Down
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,34 @@ You can also run tests without installing postgres.

```

### Running tests interactively

First terminal:

```
docker stop pgx-test-v1 && docker rm pgx-test-v1
docker run -it --name pgx-test-v1 --mount "type=bind,src=$(pwd),dst=/repo" pgxn/pgxn-tools bash
pg-start 12
tail -f /var/log/postgresql/postgresql-12-test.log
```

Second terminal:

```
docker exec -it pgx-test-v1 bash
cd repo/ && make clean && make all PROFILE="-Werror" && sudo make install
make installcheck PGUSER=postgres
```


## Troubleshooting

If the latest version of postgres is not found, just run
```
docker pull pgxn/pgxn-tools
```


### Benchmarking

Benchmarking is always tricky, I've tried to check against a real world example, in particular tweets.
Expand Down
Loading