Re: PDF files: to store in database or not

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: PDF files: to store in database or not
Date: 2016-12-06 20:10:13
Message-ID: alpine.LNX.2.11.1612061207160.31587@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 6 Dec 2016, David Wall wrote:

> The advantages of storing in the database is that a DB backup will have
> everything, instead of a DB backup and a file system backup. Using a BLOB,
> you can certainly keep track of variable length PDFs.

David,

I did not realize that a BLOB is not the same as a bytea (page 217 of the
9.6 PDF manual), and I cannot find BLOB as a postgres data type. Please
point me in the right direction to learn how to store PDFs as BLOBs.

Thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2016-12-06 20:13:36 Re: Select works only when connected from login postgres
Previous Message Joshua D. Drake 2016-12-06 19:43:03 Re: PDF files: to store in database or not