OSDN Git Service

Remove unnecessary lo_lseek call in lo_open. Apparently there was once
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2006 21:56:14 +0000 (21:56 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2006 21:56:14 +0000 (21:56 +0000)
commitf0bfc02001c5f9a78fb3a5f72b97ffb35d526ec6
tree1e15995c6ed3e03f2fd0c5e0d6bda66060943642
parent56aa84a69c282840afc3be3cba0b0e374373b9b4
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.
src/interfaces/libpq/fe-lobj.c