From 7c80d17f1e90ee0072d6c6273e0cb80ebfb41dac Mon Sep 17 00:00:00 2001 From: rk Date: Tue, 28 Aug 2001 18:40:13 +0000 Subject: [PATCH] no message --- dbscripts/pg_imageimport.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbscripts/pg_imageimport.pl b/dbscripts/pg_imageimport.pl index 32088e5e..d87e15af 100755 --- a/dbscripts/pg_imageimport.pl +++ b/dbscripts/pg_imageimport.pl @@ -8,7 +8,7 @@ if (!defined($ARGV[0])) { $dump="$ARGV[0]"; -my $conn = Pg::connectdb("dbname=nadiraktuell user=postgres host=192.168.4.8"); +my $conn = Pg::connectdb("dbname=indy user=indy host=192.168.4.8"); ( PGRES_CONNECTION_OK eq $conn->status ) and print "Pg::connectdb ........... ok\n" or die "Pg::connectdb ........... not ok: ", $conn->errorMessage; @@ -53,7 +53,7 @@ while() { print $conn->errorMessage."\n"; $sql="INSERT INTO images (title,date,place,author,to_img_layout,to_img_type,is_classified,to_media_folder,to_img_color,comment,webdb_create,img_width,img_height,image_data,icon_data) ". "VALUES ('".$titel."','20010109','".$ort. - "','Castor X4','".$layout."','1','0','3','2','".$comment."',now(),'".$img_width."','".$img_height. + "','huh','".$layout."','1','0','3','2','".$comment."',now(),'".$img_width."','".$img_height. "','".$oid."','".$ioid."')"; print $sql."\n"; $conn->exec( $sql ); -- 2.11.0