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

Transaction API specification #4

Open
dr-jts opened this issue Jan 6, 2020 · 3 comments
Open

Transaction API specification #4

dr-jts opened this issue Jan 6, 2020 · 3 comments
Labels
design Design suggestion

Comments

@dr-jts
Copy link
Collaborator

dr-jts commented Jan 6, 2020

OGC API does not yet define transactions semantics.

@dr-jts dr-jts changed the title Semantics of Transactions Transaction API specification Jan 6, 2020
@dr-jts dr-jts added the design Design suggestion label Mar 7, 2020
@fredmorin
Copy link

Part-4 draft is looking good.

It may tike a little time before it is adopted but it should not change much according to comments in this issue. opengeospatial/ogcapi-features#366

I would love to see a pg_featureserv implementation. starting with create-replace-delete requirement class.

ideally, this implementation should not introduce new dependencies and rely on postgres/postgis to take care of everything. It must stay aligned with the philosophy behind pg_featureaerv documented here: https://access.crunchydata.com/documentation/pg_featureserv/1.2.0/introduction/

@fredmorin
Copy link

fredmorin commented Nov 25, 2023

Here is my attempt at fixing this issue #152 #153

@fredmorin
Copy link

fredmorin commented Nov 25, 2023

I am analyzing how to implement optimistic locking.

ETags is fairly easy to implement using an MD5 hash for the feature.

Implemening Last-Modified require enabling track_commit_timestamp on the database and querying pg_xact_commit_timestamp(xmin) for one feature.

The specification mentions "A requirements class is specified for each field, because the two options have different characteristics and API providers need to decide which option they can support."

I believe ETags is they ideal choice for pg_featureserv.

crunchyheath pushed a commit to crunchyheath/pg_featureserv that referenced this issue Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design suggestion
Projects
None yet
Development

No branches or pull requests

2 participants