Re: Help with "DBD::Pg::db do warning"?

2004-08-30 Thread Tim Bunce
On Mon, Aug 30, 2004 at 02:42:41PM -0600, McMahon, Chris wrote: > > Hi... > I have some code that looks like this: > > * > my $sql1 = qq{INSERT INTO timefile VALUES ( > current_timestamp, > '$var' >

Help with "DBD::Pg::db do warning"?

2004-08-30 Thread McMahon, Chris
Hi... I have some code that looks like this: * my $sql1 = qq{INSERT INTO timefile VALUES ( current_timestamp, '$var' ) }; $dbh->do ($sql1);

Re: Help with DBD::Pg

2001-03-28 Thread Richard Poole
On Wed, Mar 28, 2001 at 10:59:05AM -0500, Peter Seabrook wrote: > When executing a CGI script with the following connect statement: > $dbh = > DBI->connect('DBI:Pg:dbname=shop;host=192.168.100.8;port=5432','postgres','' > ,{ RaiseError => 1, AutoCommit => 1}); > > I receive the following error:

Help with DBD::Pg

2001-03-28 Thread Peter Seabrook
Hello All... I am having problems connecting to my PostgreSQL database using DBI/DBD Background: PostgreSQL version 7.0.3 DBI version 1.14 DBD.Pg version .95 Perl version 5.6.0 All of the above running on Redhat 7.0 (i386) When executing a CGI script with the following connect statement: $dbh