Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Oct 3, 2011
  1. @itagaki-takahiro

    Don't hold type I/O caches inter execusions.

    itagaki-takahiro authored
    Split JavaScript function cache and type I/O function caches.
    Type I/O cache lives as same as the original function memory context.
Commits on Sep 23, 2011
  1. Fix broken Date ADT call

    Andrew Dunstan authored
Commits on Sep 14, 2011
  1. @itagaki-takahiro
Commits on Sep 10, 2011
  1. @itagaki-takahiro
  2. @itagaki-takahiro

    EXTENSION support for 9.1 and 9.2.

    itagaki-takahiro authored
    --HG--
    rename : plv8.sql.pl => plv8.sql.c
Commits on Sep 3, 2010
  1. @itagaki-takahiro
  2. @itagaki-takahiro
Commits on Aug 28, 2010
  1. @itagaki-takahiro
Commits on Aug 26, 2010
  1. @itagaki-takahiro
  2. @itagaki-takahiro

    Add executeSql(sql, args). $n in sql is parsed as placeholder.

    itagaki-takahiro authored
    Values in args must be null, string, numeric, or boolean.
    Other types including object, array, and date are not supported yet.
  3. @itagaki-takahiro

    Support SETOF record function. Use yield() function (it's not

    itagaki-takahiro authored
    a statement, but function) to return multiple records.
    Note that SETOF scalar values funtion is not supported yet.
    
    Usage:
    CREATE FUNCTION set_of_records() RETURNS SETOF rec AS
    $$
        yield( { "i": 1, "t": "a" } );
        yield( { "i": 2, "t": "b" } );
        yield( { "i": 3, "t": "c" } );
    $$
    LANGUAGE plv8;
  4. @itagaki-takahiro
Commits on Aug 25, 2010
  1. @itagaki-takahiro
  2. @itagaki-takahiro

    Support inline statements (DO statements in 9.0).

    itagaki-takahiro authored
    Tested on 8.4, 9.0b4, and 9.1dev.
    
    --HG--
    rename : plv8.sql.in => plv8.sql.pl
Commits on Aug 23, 2010
  1. @itagaki-takahiro

    Several fixes and improvements by Itagaki Takahiro.

    itagaki-takahiro authored
    There are incompatibilites in built-in functions and global variables.
    
      * Support PGXS to build the codes.
      * Added regression tests.
      * Support additional type conversions:
        - timestamp [with time zone]
        - date
        - record (input only)
        - oid
      * Logging function is renamed to print(elevel, ...). Acceptable elevels
        are DEBUG[1-5], LOG, INFO, NOTICE, and WARNING.  Use JavaScript
        exceptions (throw) to report errors; ERROR level are not allowed.
      * Query function is renamed to executeSql(sql). For SELECT statements,
        the returned value is an array of hashes. Each hash represents each
        record. Column names are mapped to hash keys.  For non-SELECT commands,
        the returned value is an integer that represents number of affected rows.
      * Trigger functions receives trigger conditions as function arguments:
        NEW, OLD, TG_NAME, TG_WHEN, TG_LEVEL, TG_OP, TG_RELID, TG_TABLE_NAME,
        TG_TABLE_SCHEMA, and TG_ARGV.
      * Support VARIADIC arguments.
      * Support unnamed arguments. They can be referred with 'arguments' or $N.
      * Fix error handling and exception handling. Postgre's errors (siglongjmp)
        are packed into C++ exceptions to invoke destructors properly,
        and extracted at the end of function.
Commits on Jul 11, 2010
  1. @kokizzu

    added downlaod script

    kokizzu authored
  2. @kokizzu

    temporary commit

    kokizzu authored
Commits on Nov 2, 2009
  1. v20091101a

    kyz@jcode.uphsurabaya.ac.id authored
    by Hitoshi Harada
Something went wrong with that request. Please try again.