Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Modules

    DBD-PgSPI 0.02

    Download button


    Downloads: 536  Tell us about an update
    User Rating:
    Rated by:
    Good (3.8/5)
    18 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Alex Pilosov | More scripts
    cpan.uwinnipeg.ca
    Other Free / Open Source License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Perl
    June 11th, 2007, 09:45 GMT
    C: \ Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    DBD-PgSPI description

    DBD-PgSPI is a Perl module which works with the DBI module to provide access to PostgreSQL database from within pl/perl functions inside the database.

    PostgreSQL allows perl stored procedures to be created. This module will provide access to the PostgreSQL database from inside your stored procedure.
    - It exports a dbh named $pg_dbh, which you may use at any time. You can also explicitly do DBI->connect("dbi:PgSPI:internal"), but it is essentially a no-op. DBI->disconnect is also not necessary, you will be will disconnected from SPI by plperl handler, when your stored proc ends.
    - It requires DBD::Pg for operation. DBD::Pg is used to execute table_info(), tables(), table_attributes(), type_info_all(). (No actual access is done using it or libpq, only the queries in DBD::Pg are used, to avoid duplication of code).
    - It can only be used with 'untrusted' perl interpreter (since trusted interpreter will not permit modules or anything like that). 'untrusted' plperl is NOT part of latest (7.1) distribution, you must use HEAD CVS branch or patch on http://www.formenos.org/PgSPI/plperlu.diff
    - Large objects (BLOBs, lo_open style) are not supported, and probably won't be.
    - Since PostgreSQL (current version) does not support nested transactions, this driver will not let you turn off AutoCommit.
    - Beware of quoting. Remember, all single quotes inside stored procedure need to be doubled.



    TAGS:

    database module | perl module | database tool | database | perl | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM