General Bug Report: Large Object Example testlo fails

From: Unprivileged user <nobody>
To: pgsql-bugs(at)postgresql(dot)org
Subject: General Bug Report: Large Object Example testlo fails
Date: 1999-07-15 07:52:37
Message-ID: 199907150752.DAA98227@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Mika Saari
Your email address : Mika(dot)Saari(at)nokia(dot)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:
---------

--------------------------------------------------------------------------

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 1999-07-15 14:22:45 Re: [BUGS] General Bug Report: Large Object Example testlo fails
Previous Message Tom Lane 1999-07-14 14:24:04 Re: [BUGS] bug in pg_dump