Re: [RFC] Comments on PostPic project - Repost

From: Domenico Rotiroti <domenico(dot)rotiroti(at)gmail(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] Comments on PostPic project - Repost
Date: 2010-03-16 13:34:51
Message-ID: 11f931f91003160634i7b426362s7e7081912ac2afc8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at> wrote:

> There's the "vacuumlo" contrib module that removes orphaned
> large objects.
>
>
Thanks for pointing out. Vacuumlo looks at oid and lo columns to find
orphaned lobs, but the idea could be easily adapted/extended to looks for
image columns.

> Why don't you use bytea instead of large objects in the database?
> That way you won't have to worry about orphaned large objects,
> and you don't have to convert to bytea upon retrieval.
>
> When I started coding PostPic I knew little about PostgreSQL's large
objects implementation, and was used to more 'traditional' BLOB types found
in other databases.

Regards,
Domenico

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Domenico Rotiroti 2010-03-16 13:36:00 Re: [RFC] Comments on PostPic project - Repost
Previous Message Gokulakannan Somasundaram 2010-03-16 12:14:11 Re: Bug in 9.0Alpha4