Skip to content

Commit

Permalink
update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySievert committed Jul 20, 2018
1 parent 0f1915e commit a5616df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions docs/BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Building PLV8 for MacOS or Linux has some specific requirements:
* Git
* g++ or clang++
* Python 2 (for v8)
* pgk-config (linux only for v8)

### Downloading Source

Expand Down Expand Up @@ -35,15 +36,15 @@ shared module:
$ make -f Makefile.shared
```

| Note: If you have multiple versions of PostgreSQL installed like 9.5 and 9.6, PL/v8 will only be built for PostgreSQL 9.6. This is because make calls pg_config to get the version number, which will always be the latest version installed. If you need to build PL/v8 for PostgreSQL 9.5 while you have 9.6 installed pass make the PG_CONFIG variable to your 9.5 version of pg_config. This works for `make`, `make -f Makefile.shared`, and `make install`. For example in Ubuntu:
| Note: If you have multiple versions of PostgreSQL installed like 9.5 and 9.6, Plv8 will only be built for PostgreSQL 9.6. This is because make calls pg_config to get the version number, which will always be the latest version installed. If you need to build Plv8 for PostgreSQL 9.5 while you have 9.6 installed pass make the PG_CONFIG variable to your 9.5 version of pg_config. This works for `make`, `make -f Makefile.shared`, and `make install`. For example in Ubuntu:

```
$ make PG_CONFIG=/usr/lib/postgresql/9.5/bin/pg_config
```

### Building with Execution Timeout

PL/v8 allows you to optionally build with an execution timeout for Javascript
Plv8 allows you to optionally build with an execution timeout for Javascript
functions, when enabled at compile-time.

```
Expand Down
2 changes: 1 addition & 1 deletion docs/FUNCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
PLV8 has the ability to execute multiple types of function calls inside of
PostgreSQL.

## Scale Function Calls
## Scalar Function Calls

In PLV8, you can write your invoked function call in Javascript, using the usual
`CREATE FUNCTION` statement. Here is an example of a `scalar` function call:
Expand Down

0 comments on commit a5616df

Please sign in to comment.