|
|
su.dbms.sql- SU.DBMS.SQL ------------------------------------------------------------------ From : vilfred 2:5020/400 31 Mar 2001 15:49:35 To : Drema* Subject : не, совсем не хочет :( -------------------------------------------------------------------------------- DBD::Pg::st execute failed: ERROR: Tuple is too big: size 25396, max size 8140 DBD::Pg::st execute failed: ERROR: parser: parse error at or near "Аламбера" DBD::Pg::st execute failed: ERROR: Tuple is too big: size 19376, max size 8140 DBD::Pg::st execute failed: ERROR: parser: parse error at or near "и" DBD::Pg::st execute failed: ERROR: Tuple is too big: size 27432, max size 8140 DBD::Pg::st execute failed: ERROR: Tuple is too big: size 29852, max size 8140 DBD::Pg::st execute failed: ERROR: Tuple is too big: size 24500, max size 8140 DBD::Pg::st execute failed: ERROR: Unable to locate type name 'c' in catalog DBD::Pg::st execute failed: ERROR: Tuple is too big: size 24308, max size 8140 DBD::Pg::st execute failed: ERROR: Tuple is too big: size 26628, max size 8140 DBD::Pg::st execute failed: ERROR: Tuple is too big: size 29608, max size 8140 DBD::Pg::st execute failed: ERROR: parser: parse error at or near "длины" DBD::Pg::st execute failed: ERROR: Tuple is too big: size 38004, max size 8140 DBD::Pg::st execute failed: ERROR: Tuple is too big: size 22516, max size 8140 не хочет... :( а откуда parser: parse error at or near "длины"? как будто отдельно в командную строку mydb пошло "длины": mydb=> длины; ERROR: parser: parse error at or near "длины" mydb=> А это? Unable to locate type name 'c' in catalog ? Скрипт такой: #!/usr/bin/perl -wT #print "content-type: text/html\n\n"; use DBI; use DBD::Pg; $/="\x19"; open(FR, "<aaa.txt"); $i=0; while($line=<FR>){ chomp($line); @tpls = split(/\x18/, $line); $dbh = DBI->connect("dbi:Pg:dbname=mydb", "vilfred", ""); $dbh->{LongReadLen} = 50000; $sth = $dbh->prepare("INSERT INTO test VALUES ('$tpls[8]')"); $sth->execute(); print $i++,"\t"; $dbh->disconnect; } записаей >1500 в текстовом файле, сейчас буду резать большое поле на кусочки... нда... -- Отправлено через сервер Talk.Ru - http://www.talk.ru --- ifmail v.2.15dev5 * Origin: Talk.ru (2:5020/400) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /su.dbms.sql/6488c80b19f6.html, оценка из 5, голосов 10
|