-
```
I would like a test like this added to the regression suite:
CREATE OR REPLACE FUNCTION v8_test_throw() RETURNS float AS
$$
throw new Error('Error');
$$
LANGUAGE plv8;
CREATE OR REPLACE FUNCTIO…
-
```
Hi! Brandon Noard, my colleague at Socialtext, reported that when we have two
Pg installations on the same instance that differs only by version, calling
`pg_config --includedir` always returned…
-
```
In the issue #35, we added LiveScript suuport. However, in order to support
more dialects around JavaScript, we need more sanity way to add them.
One of the main concerns is the build system. …
-
```
What steps will reproduce the problem?
With PL/pgSQL, returning NULL by BEFORE TRIGGER cancels query. However, PLV8
doesn't cancel.
CREATE TABLE test (
id SERIAL NOT NULL,
txt TEXT,
delet…
-
```
Hi! Brandon Noard, my colleague at Socialtext, reported that when we have two
Pg installations on the same instance that differs only by version, calling
`pg_config --includedir` always returned…
-
```
What steps will reproduce the problem?
With PL/pgSQL, returning NULL by BEFORE TRIGGER cancels query. However, PLV8
doesn't cancel.
CREATE TABLE test (
id SERIAL NOT NULL,
txt TEXT,
delet…
-
```
What steps will reproduce the problem?
1. build v8
2. build plv8js
3. create extension plv8; on postgres
What is the expected output? What do you see instead?
Should successfully create extensi…
-
```
What steps will reproduce the problem?
1. CREATE OR REPLACE FUNCTION upsert_inventory(param_inv json) RETURNS
text AS $$
var o = JSON.parse(param_inv);
var uplan = plv8.prepare('UPDATE inventory
…
-
```
What steps will reproduce the problem?
1. CREATE OR REPLACE FUNCTION upsert_inventory(param_inv json) RETURNS
text AS $$
var o = JSON.parse(param_inv);
var uplan = plv8.prepare('UPDATE inventory
…
-
```
What steps will reproduce the problem?
1. plv8.elog(FATAL, "You broke it");
What is the expected output?
Trigger a FATAL error in PostgreSQL terminating the current session.
What do you see inst…