Skip to content

Commit

Permalink
chore: update meta for 5.2. update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
keithf4 committed Nov 22, 2024
1 parent f1c3b50 commit 7299da8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions META.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "pg_partman",
"abstract": "Extension to manage partitioned tables by time or ID",
"version": "5.1.0",
"version": "5.2.0",
"maintainer": [
"Keith Fiske <[email protected]>"
],
Expand All @@ -20,9 +20,9 @@
},
"provides": {
"pg_partman": {
"file": "sql/pg_partman--5.1.0.sql",
"file": "sql/pg_partman--5.2.0.sql",
"docfile": "doc/pg_partman.md",
"version": "5.1.0",
"version": "5.2.0",
"abstract": "Extension to manage partitioned tables by time or ID"
}
},
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ CREATE SCHEMA partman;
CREATE EXTENSION pg_partman SCHEMA partman;
```

pg_partman does not require a superuser to run, but currently still requires it to be installed. If not using a superuser, it is recommended that a dedicated role is created for running pg_partman functions and to be the owner of all partition sets that pg_partman maintains. At a minimum this role will need the following privileges (assuming pg_partman is installed to the `partman` schema and that dedicated role is called `partman_user`):
pg_partman does not require a superuser to run nor to be installed (see [Extension Files](https://www.postgresql.org/docs/current/extend-extensions.html#EXTEND-EXTENSIONS-FILES) section of upstream docs) . If not using a superuser, it is recommended that a dedicated role is created for running pg_partman functions and to be the owner of all partition sets that pg_partman maintains. At a minimum this role will need the following privileges (assuming pg_partman is installed to the `partman` schema and that dedicated role is called `partman_user`):

```sql
CREATE ROLE partman_user WITH LOGIN;
Expand Down
4 changes: 2 additions & 2 deletions test/README_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A minimum version of pgtap 1.2.0 is required for pg_partman's test suite.

***WARNING: You MUST increase max_locks_per_transaction above the default value of 64. A value of 128 has worked well so far with existing tests. This is due to the subpartitioning tests that create/destroy several hundred tables in a single transaction. If you don't do this, you risk a cluster crash when running subpartitioning tests.***

Tests assume that the required extensions have been installed in the following schemas:
Tests assume that the required extensions have been installed in the following schemas (unless otherwise noted in that specific test):

pg_partman: partman
pgTAP: public
Expand All @@ -22,7 +22,7 @@ If you've installed any of the above extensions in a different schema and would

Once that's done, it's best to use the **pg_prove** script that pgTAP comes with to run all the tests. If you don't have pg_prove available from your installation source, it is typically available via a perl library package (Ex. `libtap-parser-sourcehandler-pgtap-perl` on Ubuntu).

I like using the -o, -v -f options to get more useful feedback.
I like using the -o -v -f options to get more useful feedback.

```sql
pg_prove -ovf /path/to/partman/test/*.sql
Expand Down

0 comments on commit 7299da8

Please sign in to comment.