Documentation of the Front End/Back End Protocol for Large Objects

Started by Marco Bizzarrialmost 20 years ago3 messagesgeneral
Jump to latest
#1Marco Bizzarri
marco.bizzarri@gmail.com

Hi all.

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...

How is it implemented in client (libpq, I suppose)?

Regards
Marco

--
Marco Bizzarri
http://notenotturne.blogspot.com/

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Marco Bizzarri (#1)
Re: Documentation of the Front End/Back End Protocol for Large Objects

"Marco Bizzarri" <marco.bizzarri@gmail.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

#3Marco Bizzarri
marco.bizzarri@gmail.com
In reply to: Tom Lane (#2)
Re: Documentation of the Front End/Back End Protocol for Large Objects

Hi Tom.

Thanks for your suggestion, this was my choice, after I was unable to
find any reference.

On 6/23/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:

"Marco Bizzarri" <marco.bizzarri@gmail.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

--
Marco Bizzarri
http://notenotturne.blogspot.com/