Re: SPI using perl - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: SPI using perl
Date
Msg-id 467C073B.9040004@commandprompt.com
Whole thread Raw
In response to SPI using perl  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
Responses Re: SPI using perl  ("Jasbinder Singh Bali" <jsbali@gmail.com>)
List pgsql-general
Jasbinder Singh Bali wrote:
> Hi
> I was wondering if its necessary to download DBI::PgSPI package from
> CPAN to use spi_exec_query in perl

No. Using plperl is the way to go. See the docs there are examples under
plperl.

Joshua D. Drake

> or it can be used without downloading the above mentioned package. I've
> tried using spi_exec_query without that package
> but doesn't work.
>
> Thanks,
> Jas


--

       === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997
              http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/


pgsql-general by date:

Previous
From: Erik Jones
Date:
Subject: Re: How determine a Views dependents
Next
From: "Jasbinder Singh Bali"
Date:
Subject: Re: SPI using perl