Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PGXN META.json file #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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
45 changes: 45 additions & 0 deletions META.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "pg_savior",
"abstract": "Prevent accidental data loss",
"description": "A PostgreSQL extension designed to prevent accidental data loss due to non-parameterized DELETE queries without a WHERE clause.",
"version": "1.0.0",
"maintainer": [
"viggy28 <[email protected]>"
],
"license": "postgresql",
"provides": {
"pg_savior": {
"abstract": "Prevent accidental data loss",
"file": "pg_savior--1.0.0.sql",
"docfile": "README.md",
"version": "1.0.0"
}
},
"prereqs": {
"runtime": {
"requires": {
"PostgreSQL": "10.0.0"
}
}
},
"resources": {
"bugtracker": {
"web": "https://github.com/viggy28/pg_savior/issues"
},
"repository": {
"url": "git://github.com/viggy28/pg_savior.git",
"web": "https://github.com/viggy28/pg_savior",
"type": "git"
}
},
"generated_by": "David E. Wheeler",
"meta-spec": {
"version": "1.0.0",
"url": "https://pgxn.org/meta/spec.txt"
},
"tags": [
"delete",
"data loss",
"safe"
]
}
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ pg_savior is a PostgreSQL extension designed to prevent accidental data loss due

## Installation

1. Clone the repository.
Source:

1. Clone the repository or [download from PGXN](https://pgxn.org/extension/pg_savior)
2. Navigate to the repository directory.
3. Run `make` to build the extension.
4. Run `make install` to install the extension.
Expand Down