Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
fa15ccb
Switch to pgxn-tools based testing
jnasbyupgrade Aug 25, 2025
99083b8
Remove .travis.yml
jnasbyupgrade Aug 25, 2025
aa53b91
Remove errant vim swapfile
jnasbyupgrade Aug 25, 2025
68e8afc
Update test workflow
jnasbyupgrade Aug 25, 2025
9859566
Add missing PGUSER argument
jnasbyupgrade Aug 25, 2025
9a1e50b
Fix dump test
jnasbyupgrade Aug 25, 2025
a217824
Pull pgxntool from master
jnasbyupgrade Aug 25, 2025
594d248
Squashed 'pgxntool/' changes from 890053c..e9c24de
jnasbyupgrade Aug 25, 2025
8dc5cfc
dump test is actually included in make test
jnasbyupgrade Aug 25, 2025
c032502
Stop using reg* pseudotypes in tables
jnasbyupgrade Aug 25, 2025
7236cf3
Add README; get rid of no longer needed code
jnasbyupgrade Aug 26, 2025
d89e0fb
minor test cleanup
jnasbyupgrade Aug 26, 2025
fae8f7c
Add functions to retrieve object info
jnasbyupgrade Aug 26, 2025
96be133
Disallow tracking objects in temp schemas
jnasbyupgrade Aug 26, 2025
bb40896
Add object__cleanup()
jnasbyupgrade Aug 27, 2025
f50bbc6
Fix tests
jnasbyupgrade Aug 27, 2025
f02670e
Remove references to count_nulls
jnasbyupgrade Aug 27, 2025
1d964c7
Remove references to count_nulls
jnasbyupgrade Aug 27, 2025
2421aa9
Merge branch 'new_features' of github.com:jnasbyupgrade/object_refere…
jnasbyupgrade Nov 11, 2025
2fa541d
Get more debug output on a test failure
jnasbyupgrade Nov 11, 2025
23d3bf9
Have test step continue on failure
jnasbyupgrade Nov 11, 2025
40625c2
Try /var/log for logfile
jnasbyupgrade Nov 11, 2025
81f3ddd
Squashed 'pgxntool/' changes from e9c24de..54793a3
jnasbyupgrade Jan 22, 2026
0a14d2a
Pull pgxntool from git@github.com:decibel/pgxntool.git release
jnasbyupgrade Jan 22, 2026
dbe7b50
Update .gitignore to reflect pgxntool changes
jnasbyupgrade Jan 22, 2026
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
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
pg: [17, 16, 15, 14, 13, 12, 11, 10]
name: 🐘 PostgreSQL ${{ matrix.pg }}
runs-on: ubuntu-latest
container: pgxn/pgxn-tools
steps:
- name: Start PostgreSQL ${{ matrix.pg }}
run: pg-start ${{ matrix.pg }}
- name: Check out the repo
uses: actions/checkout@v4
- name: Test on PostgreSQL ${{ matrix.pg }}
run: make test PGUSER=postgres
continue-on-error: true
- name: Output failed results
run: |
if [ -e test/regression.out ]; then
ls -la /var/log
ls -la /var/log/postgresql/
cat /var/log/postgresql/postgresql-${{ matrix.pg }}-test.log
exit 1
fi
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ test/dump/*.log
# Editor files
.*.swp

# Claude Code local settings
.claude/*.local.json

# Explicitly exclude META.json!
!/META.json

# Generated make files
meta.mk
control.mk

# Compiler output
*.o
*.so
.deps/

# built targets
/sql/*--*
!/sql/*--*--*.sql

# Test artifacts
results/
regression.diffs
Expand All @@ -28,3 +28,6 @@ regression.out
# Misc
tmp/
.DS_Store

# pg_tle generated files
/pg_tle/
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions META.in.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
},
"runtime": {
"requires": {
"cat_tools": 0,
"plpgsql": 0
}
},
Expand Down
1 change: 1 addition & 0 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
},
"runtime": {
"requires": {
"cat_tools": 0,
"plpgsql": 0
}
},
Expand Down
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include pgxntool/base.mk
testdeps: $(wildcard test/*.sql test/helpers/*.sql) # Be careful not to include directories in this
testdeps: test_factory

install: cat_tools count_nulls
install: cat_tools

test: dump_test
extra_clean += $(wildcard test/dump/*.log)
Expand All @@ -15,10 +15,6 @@ cat_tools: $(DESTDIR)$(datadir)/extension/cat_tools.control
$(DESTDIR)$(datadir)/extension/cat_tools.control:
pgxn install --unstable cat_tools

.PHONY: count_nulls
count_nulls: $(DESTDIR)$(datadir)/extension/count_nulls.control
$(DESTDIR)$(datadir)/extension/count_nulls.control:
pgxn install --unstable count_nulls

.PHONY: test_factory
test_factory: $(DESTDIR)$(datadir)/extension/test_factory.control
Expand Down
Loading