Re: [RFC] Comments on PostPic project - Repost

From: Domenico Rotiroti <drotiro(at)tiscali(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [RFC] Comments on PostPic project - Repost
Date: 2010-03-16 14:09:39
Message-ID: 11f931f91003160709k44e57267u12354f139b4f655e@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

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2010-03-16 15:09:54 Re: Bug in 9.0Alpha4
Previous Message Domenico Rotiroti 2010-03-16 13:36:00 Re: [RFC] Comments on PostPic project - Repost