Re: [GENERAL] Foreign Data Wrapper for filesystem - Mailing list pgsql-general

From Tom Lane
Subject Re: [GENERAL] Foreign Data Wrapper for filesystem
Date
Msg-id 14709.1487175605@sss.pgh.pa.us
Whole thread Raw
In response to [GENERAL] Foreign Data Wrapper for filesystem  (Leonardo M. Ramé <l.rame@griensu.com>)
Responses Re: [GENERAL] Foreign Data Wrapper for filesystem  (John McKown <john.archie.mckown@gmail.com>)
List pgsql-general
"=?UTF-8?Q?Leonardo_M._Ram=c3=a9?=" <l.rame@griensu.com> writes:
> Hi, I'm looking for a FDW that allows listing a directory as a database
> table allowing me to check if file exists, does anyonke know if such FDW
> exists?.

Why not use pg_ls_dir()?  An FDW would be mighty awkward to use for this
purpose, even if one existed.

            regards, tom lane


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Using ctid in delete statement
Next
From: John McKown
Date:
Subject: Re: [GENERAL] Foreign Data Wrapper for filesystem