Re: column type for pdf file

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: column type for pdf file
Date: 2011-05-19 14:29:47
Message-ID: 4DD5295B.7060901@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 05/19/2011 09:53 PM, Karsten Hilbert wrote:
> On Thu, May 19, 2011 at 09:39:54AM -0400, Emi Lu wrote:
>
>> All right, it seems that everyone thinks saving a pdf into postgresql
>> is not a good idea.
>
> No.

Hardly everyone. You lose transaction safety when using file system
storage outside the DB, you need another way to talk to the server than
just the Pg connection, and most importantly your backups become more
complicated because you have two things to back up.

It's not simple, and it depends a lot on how much the data changes, how
big the files are, etc.

--
Craig Ringer

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Emi Lu 2011-05-19 17:48:10 Re: column type for pdf file
Previous Message Karsten Hilbert 2011-05-19 13:53:31 Re: column type for pdf file