From: | Unprivileged user <nobody> |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Port Bug Report: large object insertion in table dumps core |
Date: | 1999-01-07 15:47:45 |
Message-ID: | 199901071547.KAA14240@hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Alessandro Baldoni
Your email address : abaldoni(at)csr(dot)unibo(dot)it
Category : runtime: back-end
Severity : serious
Summary: large object insertion in table dumps core
System Configuration
--------------------
Operating System : Irix 6.3
PostgreSQL version : 6.4.2
Compiler used : native cc 7.1
Hardware:
---------
IRIX BIAS_o2 6.3 12161207 IP32
MIPS R10000, 128Mb RAM
Versions of other tools:
------------------------
--------------------------------------------------------------------------
Problem Description:
--------------------
Unable to add a large object to a table.
--------------------------------------------------------------------------
Test Case:
----------
create table foo (a oid);
insert into foo values (lo_import ('/tmp/foo.obj'));
--------------------------------------------------------------------------
Solution:
---------
CVD debugger reports error at line 1067 of inv_api.c
*((int32 *) attptr) = obj_desc->offset + nwrite - 1;
Here, obj_desc->offset is 0, nwrite is 1024, lhs is 0,
attptr is a hex location.
--------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Jackson, DeJuan | 1999-01-07 16:43:07 | RE: [HACKERS] Re: [PORTS] vacuum takes too long |
Previous Message | Unprivileged user | 1999-01-07 13:33:47 | Port Bug Report: SQL reports Unsupported frontend protocol. |