Remove unnecessary lo_lseek call in lo_open. Apparently there was once

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f0bfc02001c5f9a78fb3a5f72b97ffb35d526ec6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-03-02T21:56:14Z
Releases: 8.2.0
Remove unnecessary lo_lseek call in lo_open.  Apparently there was once
a need for it back in the neolithic era, but it's certainly dead code in
any PG release we would recognize as such.  Since it forces an additional
network round trip to the backend, getting rid of it should provide some
small performance improvement for large-object-using clients.

Files

PathChange+/−
src/interfaces/libpq/fe-lobj.c modified +1 −6