title: PostgreSQL FDW on S3 object storage
body: <p>I am having one requirement for SQL-like interface to query S3 object storage(It's not actually AWS S3, but S3 based protocol storage. We are having server name, bucket name, access_key and secret_access_key available with us).</p>
  <p>I need to know whether there exists any PostgreSQL extension which can leverage foreign data wrapper(FDW) feature to run query against S3 data.</p>
  <p>Here, we don't want to copy the data(csv files) from S3 to postgreSQL server. We have external PostgreSQL server, using any extension, we directly want to query that S3 data using that PostgreSQL engine and get the result on PostgreSQL server.</p>
  <p>A very similar requirement link was found as below:
  <a href="https://www.cdata.com/kb/tech/amazons3-jdbc-postgresql-fdw.rst" rel="nofollow noreferrer">https://www.cdata.com/kb/tech/amazons3-jdbc-postgresql-fdw.rst</a></p>
  <p>But it is using it's own cdata JDBC driver. We don't want anything proprietary.
  Is there anything opensource available? If yes, how can we achieve that?</p>
  <p>We are using 12.2 PostgreSQL version.</p>