Re: [GENERAL] Foreign Data Wrapper for filesystem

2017-02-15 Thread Leonardo M . Ramé
El 15/02/17 a las 13:27, John McKown escribió: On Wed, Feb 15, 2017 at 10:20 AM, Tom Lane >wrote: "=?UTF-8?Q?Leonardo_M._Ram=c3=a9?=" mailto:l.r...@griensu.com>> writes: > Hi, I'm looking for a FDW that allows listing a directory as a database > table a

Re: [GENERAL] Foreign Data Wrapper for filesystem

2017-02-15 Thread John McKown
On Wed, Feb 15, 2017 at 10:20 AM, Tom Lane wrote: > "=?UTF-8?Q?Leonardo_M._Ram=c3=a9?=" 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 F

Re: [GENERAL] Foreign Data Wrapper for filesystem

2017-02-15 Thread Tom Lane
"=?UTF-8?Q?Leonardo_M._Ram=c3=a9?=" 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 o