File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
frameworks/Haskell/postgrest Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 77* [ DB] ( src/db.sql )
88* [ QUERY] ( src/query.sql )
99* [ CACHED QUERY] Not Implemented
10- * [ UPDATE] Not Implemented
10+ * [ UPDATE] ( src/update.sql )
1111* [ FORTUNES] ( src/fortunes.sql )
1212
1313## Important Libraries
@@ -31,14 +31,21 @@ http://localhost:3000/rpc/db
3131
3232http://localhost:3000/rpc/query?queries=
3333
34- ### CACHED QUERY Not Implemented
34+ ### CACHED QUERY - Not Implemented
3535
3636http://localhost:8080/cached_query?queries=
3737
38- ### UPDATE Not Implemented
38+ ### UPDATE - Not Working
3939
4040http://localhost:3000/rpc/updates?queries=
4141
42+ Technically, this is implemented (maybe not correctly though).
43+ However, the benchmark issues this as a GET request.
44+ PostgREST sets the transaction to READ ONLY for GET requests,
45+ as they are supposed to be idempotent.
46+ Hence this results in an error. Calling the endpoint with POST
47+ works though.
48+
4249### FORTUNES
4350
4451http://localhost:3000/rpc/fortunes.html
Original file line number Diff line number Diff line change 1- create domain " text/plain" text ;
1+ create domain " text/plain" as text ;
22
33create function plaintext () returns " text/plain" as $$
44 SELECT ' Hello, World!' ;
You can’t perform that action at this time.
0 commit comments