Laurence Isla and GitHub
eb4c428da6
Fix unordered list styles
2022-03-25 00:14:18 -05:00
Laurence Isla and GitHub
5688bc1521
Add JSON, Composite and Ranges types to the working with types how-to
2022-03-24 17:48:43 -05:00
Laurence Isla and GitHub
a8034df2bf
Add how to on PostGIS and hstore data types ( #516 )
2022-03-22 11:30:45 +01:00
Steve Chavez and GitHub
f56373313e
Fix not reloading on ALTER TYPE ( #517 )
2022-03-22 10:57:04 +01:00
Laurence Isla and GitHub
8f98948078
Add Errors reference ( #430 )
...
* Adds PostgREST' error codes
* Move error information to a dedicated reference page
* Organize errors into tables
2022-03-14 21:03:01 +01:00
Laurence Isla and GitHub
1489fc84b8
Recommend specifying host names for health check ( #514 )
...
In case of multiple network interfaces
2022-03-14 20:56:34 +01:00
Steve Chavez and GitHub
a3c1d9977f
Correct live/ready checks to consider special host values ( #2182 )
2022-03-11 15:16:45 +01:00
dependabot[bot] and GitHub
c803c4d0b6
build(deps): bump actions/checkout from 2.4.0 to 3 ( #2186 )
2022-03-08 01:56:58 +01:00
dependabot[bot] and GitHub
ea58095e92
Bump actions/checkout from 2.4.0 to 3 ( #512 )
2022-03-08 01:56:21 +01:00
dependabot[bot] and GitHub
8aef09574c
build(deps): bump actions/upload-artifact from 2.3.1 to 3 ( #2187 )
2022-03-08 01:46:30 +01:00
dependabot[bot] and GitHub
efcc93ad89
build(deps): bump actions/download-artifact from 2.1.0 to 3 ( #2185 )
2022-03-07 22:54:47 +01:00
Laurence Isla and GitHub
98976e4d57
Add how-to for working with PostgreSQL data types
2022-03-04 20:04:49 -05:00
Laurence Isla and GitHub
d6834e8bf8
Add 'PGRST' error code to differentiate from PostgreSQL errors
2022-03-04 15:57:38 -05:00
Laurence Isla and GitHub
99d0b805df
fix: Using GET with certain Content-Type headers now correctly calls the no parameter function if it exists
...
Using GET with text/plain or application/octet-stream as Content-Type headers no longer returns 404 Not Found when a function with no parameters exists
2022-02-28 13:23:55 -05:00
Wolfgang Walther and Wolfgang Walther
e9ef876433
Add hint on how to prevent exposing computed columns as RPCs
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-28 13:14:53 +01:00
Laurence Isla and GitHub
69070f341a
fix: Remove admin-server-port from in-db configuration
2022-02-23 17:26:01 -05:00
Laurence Isla and GitHub
4aff0caa59
Add documentation on the minimal health check
2022-02-23 17:25:07 -05:00
Adam Kliment and GitHub
fbe317b244
Update auth.rst ( #507 )
2022-02-22 11:48:22 -05:00
Laurence Isla and GitHub
abe0daa3dc
Add example for array and composite type columns
2022-02-15 14:20:12 -05:00
steve-chavez
dcf7ade5bc
bump version to 9.0.0.20220211
2022-02-11 14:47:33 -05:00
Steve Chavez and GitHub
9021c96baa
fix: Keep working when EMFILE is reached ( #2158 )
...
Done by upgrading to warp 3.3.19
2022-02-09 17:27:29 -05:00
Steve Chavez and GitHub
b209731ff3
Add admin section on file descriptors ( #504 )
2022-02-09 14:17:22 -05:00
Wolfgang Walther and Wolfgang Walther
41a4396147
fix: Remove uncallable functions from schema cache and OpenAPI output
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-08 09:08:27 +01:00
Wolfgang Walther and Wolfgang Walther
d9f7f6f509
refactor: Remove pg_catalog prefix from schema cache queries
...
Since the search path is voided at the beginning, there is no need to qualify those.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-08 09:08:27 +01:00
Electronoob and Wolfgang Walther
9049ed1f71
updated the example config switch
...
replacing postgrest 2 with postgrest -e
2022-02-08 08:54:05 +01:00
Wolfgang Walther and Wolfgang Walther
bd62008e1c
fix: Remove aggregates, procedures and window functions from schema cache and OpenAPI output
...
Aggregates and Window functions can't be called as RPCs in a useful way.
Procedures are not supported right now, but might be added later.
Resolves #2101
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-05 17:48:22 +01:00
Wolfgang Walther and Wolfgang Walther
ded8981368
fix: Take PG version into account in --dump-schema
...
The PG version is only read by the Connection Worker, which is not used in the case dump-schema. Now, the pg version is read in the schema cache queries directly, avoiding this problem in all cases.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-05 17:48:22 +01:00
Wolfgang Walther and Wolfgang Walther
52d628f1ed
fix: Return 204 No Content without Content-Type for RPCs returning VOID
...
Resolves #2001
BREAKING CHANGE: Previously, those RPCs would return "null" as a body with Content-Type: application/json.
2022-02-05 09:28:28 +01:00
Wolfgang Walther and Wolfgang Walther
6aeb5065f8
Add docs about accessing array items and fields of composite types with JSON operators.
...
Added in https://github.com/PostgREST/postgrest/pull/2145
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-04 22:31:28 +01:00
Wolfgang Walther and Wolfgang Walther
4d6909a08f
Mention computed columns can be on the extra search path.
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-04 22:31:28 +01:00
Wolfgang Walther and Wolfgang Walther
9c0db849ce
Move JSON Columns and Computed Columns sections one level up
...
Both of those are about select and filters - so do not belong into "Vertical Filtering" only.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-04 22:31:28 +01:00
Wolfgang Walther and Wolfgang Walther
71dd891d2f
fix postgrest-serve after move to docs/ folder
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-04 22:31:28 +01:00
Wolfgang Walther
9ca9a54d21
bump version to 9.0.0.20220204
2022-02-04 08:34:51 +01:00
Wolfgang Walther
bf689565a5
fix broken link in docker hub description, resolves #2148
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-04 08:34:35 +01:00
Wolfgang Walther and Wolfgang Walther
9f1b5c0a81
feat: Support accessing array items and fields of composite types through json operators
...
This is supported in select=, in filters and in order=.
Resolves #1543
Resolves #2075
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-03 08:13:38 +01:00
Wolfgang Walther and Wolfgang Walther
87bd8e72cf
fix changelog
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-02-03 08:13:38 +01:00
Wolfgang Walther and Wolfgang Walther
8934190d43
nix: Add postgrest-release tool
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 19:52:35 +01:00
Wolfgang Walther and Wolfgang Walther
43a92d4e6b
ci: Only run linkcheck in pull requests to main branch
...
Avoids running linkcheck on back branches, where links are outdated anyway.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 16:32:14 +01:00
Wolfgang Walther and Wolfgang Walther
e7e102bc42
ci: switch to GitHub Actions
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 16:32:14 +01:00
Wolfgang Walther
c894b543b0
bump version to 9.0.0.20220130
2022-01-30 16:15:27 +01:00
Wolfgang Walther and Wolfgang Walther
91f1580f95
Fix warning when using docker host network
...
Resolves #491
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 14:24:51 +01:00
Wolfgang Walther and Wolfgang Walther
a4db05aeba
Improve docker install examples
...
Removes the PGRST_DB_SCHEMA variable which is public by default now.
Removes the PGRST_DB_ANON_ROLE variable, because using the authenticator role or even a superuser is very bad practice.
Replaces the postgres superuser with app_user, because using a superuser to connect to postgres is very bad practice.
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 14:24:51 +01:00
Wolfgang Walther and Wolfgang Walther
a85dfe9558
chore: Move *.rst files to docs/ folder
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 13:35:55 +01:00
Wolfgang Walther and Wolfgang Walther
0ae86b7e74
Fix references to full documents instead of first section
...
Resolves #492
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-30 13:31:20 +01:00
Wolfgang Walther and Wolfgang Walther
58f76f3d6d
fix: Return 405 Method Not Allowed for unsupported verbs
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
8980b09419
refactor: Sort error types
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
927ff6f1e5
test: Split spec tests into multiple subfolders
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
8a722e2cfe
refactor: Replace elem with pattern matching to highlight missing code coverage
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
271c329677
nix: Fix postgrest-git-hooks causing merge conflicts when staging files partially
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00
Wolfgang Walther and Wolfgang Walther
c63420f0e7
nix: Fix postgrest-git-hooks disable not working
...
Signed-off-by: Wolfgang Walther <walther@technowledgy.de >
2022-01-28 19:26:33 +01:00