Обсуждение: pgsql: Remove unnecessary lo_lseek call in lo_open.

Поиск
Список
Период
Сортировка

pgsql: Remove unnecessary lo_lseek call in lo_open.

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
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.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-lobj.c (r1.54 -> r1.55)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-lobj.c.diff?r1=1.54&r2=1.55)