Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 25, 2010
  1. @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.
Something went wrong with that request. Please try again.