Skip to content

Commit 62df307

Browse files
committed
Issue #1. Fix mention about USE_PGXS
1 parent e4c50b7 commit 62df307

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.o
2+
*.so
3+
results

README.md

+11-6
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,23 @@ dictionary, this may save you a lot of resources.
1616

1717
Install
1818
-------
19-
Installing the extension is quite simple, especially if you're on 9.1.
20-
In that case all you need to do is this:
2119

22-
$ make install
20+
Before build and install `shared_ispell` you should ensure following:
21+
22+
* PostgreSQL version is 9.6 or 10.
23+
24+
Installing the extension is quite simple. In that case all you need to do is this:
25+
26+
$ git clone git@github.com:postgrespro/shared_ispell.git
27+
$ cd shared_ispell
28+
$ make USE_PGXS=1
29+
$ make USE_PGXS=1 install
2330

2431
and then (after connecting to the database)
2532

2633
db=# CREATE EXTENSION shared_ispell;
2734

28-
If you're on pre-9.1 version, you'll have to do the second part manually
29-
by running the SQL script (shared_ispell--x.y.sql) in the database. If
30-
needed, replace MODULE_PATHNAME by $libdir.
35+
> **Important:** Don't forget to set the `PG_CONFIG` variable in case you want to test `shared_ispell` on a custom build of PostgreSQL. Read more [here](https://wiki.postgresql.org/wiki/Building_and_Installing_PostgreSQL_Extension_Modules).
3136
3237

3338
Config

0 commit comments

Comments
 (0)