Unix Technical Forum

Disable large objects GUC

This is a discussion on Disable large objects GUC within the pgsql Hackers forums, part of the PostgreSQL category; --> I wonder if there's any use for an allow_large_objects = true/false GUC parameter? It'd be nice to be able ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 04:35 AM
Christopher Kings-Lynne
 
Posts: n/a
Default Disable large objects GUC

I wonder if there's any use for an allow_large_objects = true/false GUC
parameter?

It'd be nice to be able to switch it off as part of site policy so that
the security holes in it aren't able to be exposed, plus you can
guarantee as the site admin that pg_dumpall will produce a complete
dump. Also, you can guarantee that you don't have to worry about
vacuumlo or anything.

This might come in handy one day when we want to deprecate large objects
perhaps.

Chris

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 04:36 AM
Tom Lane
 
Posts: n/a
Default Re: Disable large objects GUC

Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> I wonder if there's any use for an allow_large_objects = true/false GUC
> parameter?


> It'd be nice to be able to switch it off as part of site policy so that
> the security holes in it aren't able to be exposed, plus you can
> guarantee as the site admin that pg_dumpall will produce a complete
> dump.


Security holes? Explain yourself please.

As for the latter point, ISTM the todo item is "fix pg_dumpall" more
than "eliminate large objects". Certainly the fix isn't easy, but
that isn't an argument to cut and run.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 04:36 AM
Christopher Kings-Lynne
 
Posts: n/a
Default Re: Disable large objects GUC

> Security holes? Explain yourself please.

No ownership, and no permissions...

> As for the latter point, ISTM the todo item is "fix pg_dumpall" more
> than "eliminate large objects". Certainly the fix isn't easy, but
> that isn't an argument to cut and run.


I did have a plan to do this for 8.1, but so far it's not looking like
I'll have the time...

Chris

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:09 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com