-
```
Because json is a built-in type in 9.2, it is a reasonable request that plv8
converts the in/out value automatically. Not sure how difficult upgrade would
be. This may be beneficial when js fu…
-
```
I'm working with the popular OS X packaging tool homebrew to include plv8
(https://github.com/mxcl/homebrew/pull/10114)
One concern they raised was that there isn't a tagged version number.
Cou…
-
```
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…
-
```
create table arraytest(id int, value text);
insert into arraytest values(1,'one');
insert into arraytest values(2,'two');
Selecting the table returns an array, with the table properly converted t…
-
```
Add quote_literal() and family functions to plv8.
```
Original issue reported on code.google.com by `umi.tan...@gmail.com` on 17 Apr 2012 at 9:40
-
```
Compilation of pl/v8 is failing with PostgreSQL 9.4, this is cause by upstream
commit 0886fc6 and the modification of API parseTypeString.
Patch attached fixes the issue and does not break code …
-
```
Compilation creates a couple of files that are not ignored by the git
repository, creating a risk to commit unwanted files to the source tree if
committer is not careful.
Patch attached impleme…
-
```
What steps will reproduce the problem?
create or replace function xxx(n int) returns setof record language plv8 as
$x$ var i; for (i=0; i
-
```
CREATE OR REPLACE FUNCTION v8repl(text, int) RETURNS text AS $$
var buf = [];
for(var i = 0; i < $2; i++){
buf.push( $1 );
}
return buf.join( "," );
$$ LANGUAGE plv8;
SELECT v8repl('t…