feat: request.spec GUC for db-root-spec

The request.spec GUC contains the schema cache structure in json.

It's only available when the root endpoint(/) is requested and when
db-root-spec is not empty.

Also correct db-root-spec to accept a schema.
This commit is contained in:
steve-chavez
2021-05-30 16:48:08 -05:00
committed by Steve Chavez
parent f169661ce6
commit d99909c403
11 changed files with 69 additions and 50 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ module PostgREST.Query.SqlFragment
, returningF
, selectBody
, sourceCTEName
, unknownLiteral
, unknownEncoder
, intercalateSnippet
) where