Steve Chavez

Results 245 issues of Steve Chavez

Closes https://github.com/PostgREST/postgrest/issues/2144 ## TODO - [x] Override detected relationships - [ ] Tests - [ ] Refactor

Currently recovery tests are done manually, it'd be great to have them as automated tests. These are the main scenarios: (the connection recovery worker is referred as just "worker") ###...

hygiene
ci

This happens currently: ```http OPTIONS /rpc/func_name HTTP/1.1 405 Method Not Allowed {"message":"Bad Request"} ``` Considering the [Allow RFC](https://tools.ietf.org/html/rfc7231#section-7.4.1), we should respond with an `Allow: GET, POST` header depending on the...

bug
http

As discussed on https://github.com/PostgREST/postgrest/issues/915#issuecomment-744736038. This adds the `request.param` GUC. This is the draft implementation. Not efficient because it leads to a lot of new prepared statements(no reuse). Each query param...

Right now we don't log a canceled request. Needs confirmation.

QOS
idea

## Problem - PostgREST doesn't have a timeout for how long a request should wait for obtaining a connection from the db pool. - Nginx(or other proxy) has a request...

enhancement
QOS
dependency-patch

Our parsers are failing to give a good error message for this case: ```python http GET 'localhost:3000/projects?select=id,clients(name[])' { "code": "42703", "details": null, "hint": "Perhaps you meant to reference the column...

bug
messages

Proposing [HsLua](https://github.com/hslua/hslua) to solve: - https://github.com/PostgREST/postgrest/issues/1698 - https://github.com/PostgREST/postgrest/issues/1909 - https://github.com/PostgREST/postgrest/issues/2028 - https://github.com/PostgREST/postgrest/issues/2088 The main point against providing extensibility through SQL functions(for example for OpenAPI) is: > What I really like...

idea

When running the [memory tests](https://github.com/PostgREST/postgrest/blob/902e4e8921779346adc19ff6690d03820be2b797/test/memory/memory-tests.sh#L103-L119): ``` $ nix-shell --arg memory true $ postgrest-test-memory ``` The following [profiling](https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html) report is produced: ``` Fri Apr 22 16:16 2022 Time and Allocation Profiling...

perf

Allows setting a custom media type for the [response format](http://postgrest.org/en/v7.0.0/api.html#response-format)(`Accept` and `Content-Type` headers) by using the `pgrst.accept` setting on RPC. Basically, it serves as an escape hatch for when the...