Thread

  1. DBD-Pg-0.91 make test - fail

    Jean Lee <jean@cinesite.co.uk> — 1999-03-16T12:00:25Z

    Hello
    
    Is this a known problem....?? I'm new to postgresql........and what can
    I do to remedy it...??
    I get the following errors when I run 'make test' for DBD-Pg-0.91 for
    postgresql-6.4.2. I would really like to use large objects - from
    postings on
    
     dbi-users@fugue.com
    
    it looks like the problem is related to
    blobs...........
    
    I saw an earlier posting with similar errors for DBD-Pg-0.90, and the
    suggestion to use a patch already posted, or mail bug report to
    
    pgsql-bugs@postgresql.org
    
    The patch for postgresql-v6.4 on inv-api.c, appear to have been
    incorporated into v6.4.2. allready. Any ideas...??
    
    Many thanks
    
    Jean
    
    /////////////////////////////////////////////
    
    PERL_DL_NONLAZY=1 /usr/sbin/perl -I./blib/arch -I./blib/lib
    -I/usr/local/lib/perl5/IP28-irix/5.00404 -I/usr/local/lib/perl5 test.pl
    DBI->data_sources ........ ok
    FATAL 1:  Database rumpumpel does not exist in pg_database
    DBI::errstr .............. ok
    DBI->connect ............. ok
    $dbh->{Name} ............. ok
    $dbh->ping ............... ok
    ERROR:  destroydb: database 'pgperltest' does not exist
    $dbh->do ................. ok
    $dbh->table_info ......... ok
    $dbh->tables ............. ok
    $dbh->prepare ............ ok
    $dbh->execute ............ ok
    $sth->{pg_oid_status} .... ok
    $sth->{pg_cmd_status} .... ok
    $sth->finish ............. ok
    $sth->bind_param ......... ok
    $sth->fetchrow_array ..... ok
    $sth->fetchrow_arrayref .. ok
    $sth->fetchrow_hashref ... ok
    $sth->{NAME} ............. ok
    $sth->{TYPE} ............. ok
    $sth->{pg_size} .......... ok
    $sth->{pg_type} .......... ok
    $sth->bind_columns ....... ok
    $sth->fetch .............. ok
    $sth->bind_col ........... ok
    $sth->fetch .............. ok
    $sth->{ChopBlanks} ....... ok
    $sth->rows ............... ok
    DBD::Pg::db do failed: pqReadData() -- backend closed the channel
    unexpectedly.
            This probably means the backend terminated abnormally before or
    while processing the request.
    pqReadData() -- backend closed the channel unexpectedly.
            This probably means the backend terminated abnormally before or
    while processing the request.
    Database handle destroyed without explicit disconnect.
    Database handle destroyed without explicit disconnect.
    make: *** [test_dynamic] Error 2
    
    
    //////////////////////////////////////////
    
    SGI Irix 6.2
    Perl 5.004_04
    PostgreSQL 6.4.2
    DBD-Pg 0.91
    DBI 1.06
    
    ////////////////////////////////////////////
    
    
    
    --
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    Jean Lee
    Software Developer           mailto:jean@cinesite.co.uk
    Cinesite (Europe) Ltd.       Telephone:      0171 973 4000
    9 Carlisle Street            Direct:         0171 973 4077
    London   W1V  5RG            Fax:            0171 973 4040