You can very well get from the following link.
http://www.postgresql.org/docs/8.1/interactive/largeobjects.html
----- Original Message -----
From: Alain Rodriguez Arias
To: pgsql-admin(at)postgresql(dot)org
Sent: Friday, December 23, 2005 12:05 AM
Subject: [ADMIN] lo_ functions
Where can I find examples of the use of the lo_ functions to load from or save to any file????