public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Amine Tengilimoglu <[email protected]>
To: [email protected] >> PG-General Mailing List <[email protected]>
Subject: Re: How to read an external pdf file from postgres?
Date: Wed, 12 Jan 2022 12:25:18 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADTdw-x=c_=OFyh3DoCkaygGAkChi36O=acZHQ2-F_DgQGJGpQ@mail.gmail.com>
References: <CADTdw-x=c_=OFyh3DoCkaygGAkChi36O=acZHQ2-F_DgQGJGpQ@mail.gmail.com>

On 12.01.22 12:16, Amine Tengilimoglu wrote:
>       I want to read an external pdf file from postgres. pdf file will 
> exist on the disk. postgres only know the disk full path as metadata. Is 
> there any software or extension that can be used for this? Or do we have 
> to develop software for it?  Or what is the best approach for this? I'd 
> appreciate it if anyone with experience could make suggestions.

You could write a function in PL/Perl or PL/Python to open and read the 
file and process the PDF data, using some third-party module that surely 
exists somewhere.





view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: How to read an external pdf file from postgres?
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox