Re: [NOVICE] Help needed with pg.pm to connect to postgresql - Mailing list pgsql-general

From Jesus Aneiros
Subject Re: [NOVICE] Help needed with pg.pm to connect to postgresql
Date
Msg-id Pine.LNX.4.10.10011050942290.13789-100000@jagua.cfg.sld.cu
Whole thread Raw
List pgsql-general
You have 2 small mistake that I point below.

On Sat, 4 Nov 2000, Kisala Muhavi wrote:

> #!/usr/local/bin/perl
> #
> #perl sample program
>
> use pg;
use Pg;
>
> $conn =pg::connectdb("dbname=test");
> die $conn->errorMessage unless PGRES_CONNECTION_OK eq $conn->status;
>
> print "Enter User name :"
print "Enter User name:";

The rest compiles OK

--
Jesus Aneiros Sosa
mailto:aneiros@jagua.cfg.sld.cu
http://jagua.cfg.sld.cu/~aneiros


pgsql-general by date:

Previous
From: "Jonathan Ellis"
Date:
Subject: how do you call one pltcl function from another?
Next
From: "joel w. reed"
Date:
Subject: sneaking by PGSQL's referential integrity (sort of)