"Marco Bizzarri" <marco(dot)bizzarri(at)gmail(dot)com> writes:
> I would like to study the protocol for large object operations
> (lo_read, lo_write,...) between the front-end and back-end.
> I've found this
> http://www.postgresql.org/docs/8.1/static/protocol.html, but it looks
> like it has no message specific for large object...
libpq does it through Function Call messages that invoke lo_open and so
on. Look into src/interfaces/libpq/fe-lobj.c.
regards, tom lane