postgres-elasticsearch-fdw: Could it support the `RETURNING` ?
First, thank you for this awesome project ! Easy to set up and works very well.
I use RETURNING *
almost every time I do an INSERT
in postgres to retrieve the real inserted data (e.g: with default values).
When using it on a foreign table using this foreign data wrapper, I get an empty row.
Is it the expected behavior? If not, even if I am very new to FDW and python, I could try to fix it.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 20 (20 by maintainers)
Looks good to me. Thanks !
I would say the DELETE method still miss the
refresh
query parameter to match the behavior of the other two methods (document may be still searchable until index refresh).Regarding the main subject of
RETURNING
, it can be considered closed.I think it could look like this:
self.complete_returning
(to match insert/update behavior)