Re: [BUGS] large object seek/write bug

2000-06-15 Thread Tom Lane
Ian Grant <[EMAIL PROTECTED]> writes: > I just thought that whilst this part of the backend is still fresh in > your mind you might consider implementing lo_truncate (the lo_ analog > of the unix truncate system call.) I'll leave that for someone else (Denis Perchine seems to be interested). Bug

Re: [BUGS] large object seek/write bug

2000-06-15 Thread Ian Grant
> Thank you for the carefully developed test case. The bug is actually > in the backend, not in libpq: ... snip ... > > I believe the attached patch fixes these problems, but I haven't been > able to wring it out very thoroughly because I don't have applications > that do random seeks and writes

Re: [BUGS] large object seek/write bug

2000-06-14 Thread Tom Lane
Ian Grant <[EMAIL PROTECTED]> writes: > I'm using V 7.0 on a Linux machine and I believe I have found a bug in the > large object interface provided by libpq. Thank you for the carefully developed test case. The bug is actually in the backend, not in libpq: there's an ancient hack in inv_write