Re: [NOVICE] Perl - Postgres

From: Medi Montaseri <medi(dot)montaseri(at)intransa(dot)com>
To: Michael Carmack <karmak(at)karmak(dot)org>
Cc: ralough(at)iee(dot)org, Rosta Farzan <rosta(at)sn432s03(dot)sci(dot)csuhayward(dot)edu>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [NOVICE] Perl - Postgres
Date: 2003-01-29 21:00:56
Message-ID: 3E384108.5050204@intransa.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

Also try this

perldoc DBI
perldoc DBD::Pg

Perl provides a two tier DB interface. Programmers use DBI as a generic
DB API.
DBI connects with DBD (DB Driver) to reach the engine.

So if you use Postgresql, then programmer --> DBI ---> DBD ---> Pg
If you use Oracle, then programmer ---> DBI ---> DBD --> Oracle
if you use ODBC, then programmer ---> DBI --> DBD --> ODBC <=========>
SomeEngine

Is'nt that cool....

Michael Carmack wrote:

>On Wed, Jan 29, 2003 at 06:36:10PM +0000, Richard A Lough wrote:
>
>
>>Rosta Farzan wrote:
>>
>>
>>>Hi
>>>
>>>Where can I find the list of the functions of pg module, for example how
>>>to insert a row to the database?
>>>Does anybody know a tutorial on perl & Postgres?
>>>
>>>
>
>http://www.uklinux.net/support/DBI.php
>http://www.uklinux.net/support/DBD_Pg.php
>
>m.
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-01-29 21:05:23 Re: how much memory to allot to postgres?
Previous Message Jean-Luc Lachance 2003-01-29 20:50:46 Re: plperl functions -- can they call each other?

Browse pgsql-novice by date

  From Date Subject
Next Message Chad Thompson 2003-01-29 21:40:45 Re: Some odd postgres errors.
Previous Message Tom Lane 2003-01-29 19:53:17 Re: Some odd postgres errors.