Seek within Large Object, within PL/* function?

From: Adam Seering <aseering(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Seek within Large Object, within PL/* function?
Date: 2008-11-14 05:31:25
Message-ID: 491D0D2D.7030507@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I'm new here, apologies if this is the wrong list...

I'm playing around with storing custom preprocessed data structures
within Large Objects. I'd like to be able to write a custom function
that will, within a query, let me select out particular bytestrings from
the middle of a Large Object (within C, I think 'lo_lseek' and 'lo_read'
would get me what I want).

I'd like to do so from some PL/* embedded language, rather than a
compiled C module. I can't find any documentation on doing this,
though. Is it possible? Thoughts?

Thanks,
Adam

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Moreno 2008-11-14 05:49:17 Re: backup and permissions
Previous Message Phoenix Kiula 2008-11-14 04:57:32 Re: Tweaking PG (again)