Thread
-
General Bug Report: Large Object Example testlo fails
Unprivileged user <nobody> — 1999-07-15T07:52:37Z
============================================================================ POSTGRESQL BUG REPORT TEMPLATE ============================================================================ Your name : Mika Saari Your email address : Mika.Saari@nokia.com Category : runtime: front-end: C++ Severity : non-critical Summary: Large Object Example testlo fails System Configuration -------------------- Operating System : Linux 2.2.5 ELF PostgreSQL version : 6.5 Compiler used : egcs-2.91.66 Hardware: --------- PII, 128MB RAM, 18Gb DISK Linux <mymachine> 2.2.5-15 #1 Mon Apr 19 23:00:46 EDT 1999 unknown RedHat 6.0 Versions of other tools: ------------------------ GNU Make version 3.77 Flex Version 2.5.4 -------------------------------------------------------------------------- Problem Description: -------------------- Large Object Example testlo fails in PostgreSQL 6.5 but NOT in 6.4.2. The ERROR message is Connection to database 'template1' failed. PQsendQuery() -- There is no connection to the backend. -------------------------------------------------------------------------- Test Case: ---------- 1. tar xvzf postgresql-6.5.tar.gz 2. cd postgresql-6.5 3. cd src 4. ./configure --prefix=/opt/postgresql-v6.5 5. make; make install 6. ldconfig 7. chown -R postgres /opt/postgresql-v6.5 /opt/postgresql-6.5 8. su - postgres 9. initdb 10.postmaster -i 11.cd /opt/postgresql-6.5/src/interfaces/libpq++/examples 12.vi Makefile HEADERDIR=/opt/postgresql-v6.5/include LIBPQDIR=/opt/postgresql-v6.5/lib LDFALGS+= -L$(LIBPQDIR) -lcrypt -lpq++ 13. make 14. ./testlo template1 testlo test 0 This command has been tested with all parameters world can handle ;) All other example files libtestpq0 - libtestpq6 works without any problem. -------------------------------------------------------------------------- Solution: --------- --------------------------------------------------------------------------