Skip to content

Commit 8bec2aa

Browse files
Merge pull request #326 from diffix/cristian/misc
Misc tweaks.
2 parents 4765161 + cb1c60f commit 8bec2aa

File tree

3 files changed

+15
-11
lines changed

3 files changed

+15
-11
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Version 0.0.4
4+
5+
- Minor updates to docs and config terminology.
6+
37
## Version 0.0.3
48

59
- Tweaked README file for better rendering on PGXN.

META.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "pg_diffix",
33
"abstract": "A PostgreSQL extension for strong dynamic anonymization.",
4-
"version": "0.0.3",
4+
"description": "Diffix is a bundled set of mechanisms for anonymizing structured data. Open Diffix is a project to make Diffix anonymization free and open. More details at open-diffix.org.",
5+
"version": "0.0.4",
56
"maintainer": "Open Diffix <hello@open-diffix.org>",
67
"license": {
78
"restricted": "https://github.com/diffix/pg_diffix/blob/master/LICENSE.md"
@@ -12,7 +13,7 @@
1213
"abstract": "A PostgreSQL extension for strong dynamic anonymization.",
1314
"file": "src/pg_diffix.c",
1415
"docfile": "docs/user_guide.md",
15-
"version": "0.0.3"
16+
"version": "0.0.4"
1617
}
1718
},
1819
"prereqs": {

README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,23 @@ See the [user guide](docs/user_guide.md) for details on configuring and using th
1313

1414
## Installation
1515

16-
PostgreSQL version 13 or higher is required.
17-
18-
The source is compiled with: `make` or `make TARGET=release` for release version.
19-
20-
You should already have the `postgresql-server-dev-x` package installed if you have postgres version `x`.
16+
PostgreSQL version 13 or higher is required. You also need `make`, `jq`, and a recent C compiler.
17+
You should already have the `postgresql-server-dev-x` package installed if you have PostgreSQL version `x`.
2118
If not, you must install it in order to compile the source.
2219

23-
The compiled extension is installed with: `make install`.
20+
The source is compiled with: `make` (or `make TARGET=release` for release version).
21+
The compiled extension is installed with: `make install` (which requires superuser permissions).
2422

25-
You probably need to run it with superuser permission as `sudo make install`.
23+
The extension is also available on [PGXN](https://pgxn.org/dist/pg_diffix/), and can be installed using
24+
[PGXN Client](https://pgxn.github.io/pgxnclient/).
2625

27-
In `psql`, you have to install the extension with `CREATE EXTENSION pg_diffix;`.
26+
When connected to the target database with `psql`, you have to set up the extension with `CREATE EXTENSION pg_diffix;`.
2827

2928
## Using the extension
3029

3130
Load the extension with `LOAD 'pg_diffix';`, unless you configured it to preload using [these instructions](#preloading-the-extension).
3231

33-
Once installed, the extension logs information to `/var/log/postgresql/postgresql-13-main.log` or equivalent.
32+
Once loaded, the extension logs information to `/var/log/postgresql/postgresql-13-main.log` or equivalent.
3433

3534
Node dumps can be formatted to readable form by using `pg_node_formatter`.
3635

0 commit comments

Comments
 (0)