Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for writeable FDWs #40

Closed
andreypopp opened this issue Nov 25, 2013 · 5 comments
Closed

Add support for writeable FDWs #40

andreypopp opened this issue Nov 25, 2013 · 5 comments

Comments

@andreypopp
Copy link

It would be cool if Multicorn supports writeable FDWs.

@andreypopp
Copy link
Author

Ok, this feature seems to be implemented but not documented.

@houmanb
Copy link

houmanb commented Nov 25, 2013

Hi,
Could you please post an example for the usage of a wirteable FDW?
regards

@andreypopp
Copy link
Author

@houmanb sure

  • directory on filesystem — we can write a file into a directory
  • git's object storage — create blobs
  • s3 — upload files
  • bindings to some HTTP API — POST/PUT/DELETE create/modify/delete data
  • prototype bindings for other databases
  • ...

@cristen
Copy link

cristen commented Nov 28, 2013

I didn't get your question at first, you can of course write fdw that will retrieve all the data you need. But I think you are more interested in fdw with DML write operations (insert, update and such…) support which has recently been added to postgresql 9.3. This is a major feature and I'm sure it is or it'll be soon added :).

@rdunklau
Copy link
Contributor

This is available in the git version.
Please see the documentation here: http://multicorn.org/implementing-an-fdw/#idwrite-api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants