Skip to content
Open
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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: CI
on: [push, pull_request]
jobs:
test:
strategy:
matrix:
pg: [17, 16, 15, 14, 13, 12, 11, 10, 9.6, 9.5, 9.4, 9.3]
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: pg-build-test
10 changes: 8 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# 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
# Note: Version-specific files (sql/*--*.sql) are now tracked in git and should be committed

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

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

This file was deleted.

8 changes: 4 additions & 4 deletions META.in.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"name": "extension_drop",

"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
"version": "0.1.1",
"version": "1.0.0",

"X_comment": "REQUIRED. Short description of distribution.",
"abstract": "Run custom commands when an extension is dropped.",
Expand All @@ -28,7 +28,7 @@
"maintainer": [ "Jim Nasby <Jim.Nasby@OpenSCG.com>" ],

"X_comment": "Optional. Status of distribution. Allowed values: unstable, testing, stable",
"release_status": "unstable",
"release_status": "testing",

"X_comment": "REQUIRED. License(s) distribution is released under. http://pgxn.org/spec/#license",
"license": "postgresql",
Expand All @@ -41,7 +41,7 @@
"file": "sql/extension_drop.sql",

"X_comment": "REQUIRED. Version the extension is at.",
"version": "0.1.1",
"version": "1.0.0",

"X_comment": "Optional: \"abstract\": Description of the extension.",
"abstract": "Run custom commands when an extension is dropped.",
Expand Down Expand Up @@ -73,7 +73,7 @@
"X_comment": "Valid keys for 'prereqs' are configure, build, runtime, or test.",
"X_comment": "Valid keys for 'requires' are requires, recommends, suggests, or conflicts.",
"X_comment": "Requires event_triggers, introduced in 9.3",
"X_comment": "cat_tools: requires extension suppport, added in 0.2.1",
"X_comment": "cat_tools: requires extension support, added in 0.2.1",
"prereqs": {

"build": {
Expand Down
8 changes: 4 additions & 4 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"name": "extension_drop",

"X_comment": "REQUIRED. Version of the distribution. http://pgxn.org/spec/#version",
"version": "0.1.1",
"version": "1.0.0",

"X_comment": "REQUIRED. Short description of distribution.",
"abstract": "Run custom commands when an extension is dropped.",
Expand All @@ -28,7 +28,7 @@
"maintainer": [ "Jim Nasby <Jim.Nasby@OpenSCG.com>" ],

"X_comment": "Optional. Status of distribution. Allowed values: unstable, testing, stable",
"release_status": "unstable",
"release_status": "testing",

"X_comment": "REQUIRED. License(s) distribution is released under. http://pgxn.org/spec/#license",
"license": "postgresql",
Expand All @@ -41,7 +41,7 @@
"file": "sql/extension_drop.sql",

"X_comment": "REQUIRED. Version the extension is at.",
"version": "0.1.1",
"version": "1.0.0",

"X_comment": "Optional: \"abstract\": Description of the extension.",
"abstract": "Run custom commands when an extension is dropped.",
Expand Down Expand Up @@ -72,7 +72,7 @@
"X_comment": "Valid keys for 'prereqs' are configure, build, runtime, or test.",
"X_comment": "Valid keys for 'requires' are requires, recommends, suggests, or conflicts.",
"X_comment": "Requires event_triggers, introduced in 9.3",
"X_comment": "cat_tools: requires extension suppport, added in 0.2.1",
"X_comment": "cat_tools: requires extension support, added in 0.2.1",
"prereqs": {

"build": {
Expand Down
2 changes: 1 addition & 1 deletion extension_drop.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment = 'Allows specifying commands to run when dropping an extension.'
default_version = '0.1.1'
default_version = '1.0.0'
relocatable = false
requires = 'cat_tools'
36 changes: 0 additions & 36 deletions pg-travis-test.sh

This file was deleted.

19 changes: 19 additions & 0 deletions pgxntool/.claude/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"permissions": {
"allow": [
"Bash(cat:*)",
"Bash(make test:*)",
"Bash(tee:*)",
"Bash(echo:*)",
"Bash(git show:*)",
"Bash(git log:*)",
"Bash(ls:*)",
"Bash(find:*)",
"Bash(git checkout:*)",
"Bash(head:*)"
],
"additionalDirectories": [
"../pgxntool-test/"
]
}
}
3 changes: 3 additions & 0 deletions pgxntool/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.gitattributes export-ignore
.claude/ export-ignore
*.md export-ignore
.DS_Store export-ignore
*.asc export-ignore
*.adoc export-ignore
*.html export-ignore
1 change: 1 addition & 0 deletions pgxntool/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.*.swp
.claude/*.local.json
Loading