Port Bug Report: Large object importing fails from backend

From: Unprivileged user <nobody>
To: pgsql-ports(at)postgresql(dot)org
Subject: Port Bug Report: Large object importing fails from backend
Date: 1999-06-30 06:32:07
Message-ID: 199906300632.CAA45865@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports


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

Your name : Juman Byun
Your email address : olbyun(at)academy(dot)hanyang(dot)ac(dot)kr

Category : runtime: back-end
Severity : serious

Summary: Large object importing fails from backend

System Configuration
--------------------
Operating System : Sparc Solaris 2.6

PostgreSQL version : 6.4.2

Compiler used : gcc 2.8.1

Hardware:
---------
Ultra Sparc 256MB RAM

Versions of other tools:
------------------------
all GNU tools

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

Problem Description:
--------------------
built-on function lo_import() fails

the file to be ol_import()ed is world readable like this.
-rw-r--r-- 1 root sys 52 Jan 1 1970 /etc/motd

i typed the lo example postgresql manual in this homepage.

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

Test Case:
----------
i got the error below.

CREATE TABLE image (
name text,
raster oid
);

INSERT INTO image (name, raster)
VALUES ('beautiful image', lo_import('/etc/motd'));

pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally before or while processing the request.
We have lost the connection to the backend, so further processing is impossible. Terminating.

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

Solution:
---------

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

Browse pgsql-ports by date

  From Date Subject
Next Message Unprivileged user 1999-06-30 08:14:22 Port Bug Report: when I configure --with-CXX make stops with this error fmgrtab.o:file not recognized: File format not recognized
Previous Message Chris Nicholas 1999-06-29 20:59:01 FreeBSD version 6.5; no luck :-[