blob

From: Luke <luke(at)chipcity(dot)com(dot)au>
To: pgsql-general(at)postgresql(dot)org
Subject: blob
Date: 2001-10-07 22:47:28
Message-ID: 3BC0DB80.5A466B1F@chipcity.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hi,

If this is the wrong group to post this question, please point me in
the right direction,

Now my problem.
I've been trying to get large objects "happening" through a perl script,

which I want to run by httpd (user nobody) from the cgi-bin directory.
In other words, I want to serve images to browsers from a database.
This includes using the 'lo_export' function.
But I've found that I can only run 'lo_export' as superuser.

Is there any other way to get images served from the database?
Or how do I get around the above in perl.

I understand that there is a client side lo_export in libpq, but that
would mean writing my cgi script in c, yes? I think.
If not how do I use the client side. Does that mean embedding my perl
script in html?

any suggestions?

thanks greatly,

viva postgres!

Luke

Responses

  • Re: blob at 2001-10-10 15:02:06 from Brett W. McCoy

Browse pgsql-general by date

  From Date Subject
Next Message Luke Vanderfluit 2001-10-07 23:22:34 blob
Previous Message Rich Shepard 2001-10-07 21:34:27 Upgrading template1: 7.1.2 -> 7.1.3