Thread: lo_creat() failing after 22 iterations

lo_creat() failing after 22 iterations

From
"Barnes, Sandy (Sandra)"
Date:
I'm running PostgreSQL 7.0.2 on RedHat6.2  Linux.  I try to call lo_creat()
100 times and always on the 23rd try I get a 0 return type for the OID
(error! condition).  I also get the following error in the postgres message
log:

            FATAL 1: my bits moved right off the end of the
world!

I must be bumping up against a system limit?  Any ideas?
Thx!

Sandy Barnes
email    sandy.barnes@honeywell.com


Re: lo_creat() failing after 22 iterations

From
Tom Lane
Date:
"Barnes, Sandy (Sandra)" <Sandy.Barnes@Honeywell.com> writes:
> I'm running PostgreSQL 7.0.2 on RedHat6.2  Linux.  I try to call lo_creat()
> 100 times and always on the 23rd try I get a 0 return type for the OID
> (error! condition).  I also get the following error in the postgres message
> log:

>             FATAL 1: my bits moved right off the end of the
> world!

If you have a reproducible way of causing that error, we'd sure like to
see it.  Please submit a formal bug report with the full details of your
tables and program.

            regards, tom lane