refactor: merge Column list into Table
* Remove Table from Column * Correct OpenAPI test where the schema was appearing for the enum unnecessarily * Increase memory-tests consumption by 2M Seems the Hasql decoder consumes more memory now that the allTables results also have [Column] inside.
This commit is contained in:
committed by
Steve Chavez
parent
902e4e8921
commit
778b8d074d
@@ -485,7 +485,7 @@ handleOpenApi headersOnly tSchema (RequestContext conf@AppConfig{..} dbStructure
|
||||
lift $ case configOpenApiMode of
|
||||
OAFollowPriv ->
|
||||
OpenAPI.encode conf dbStructure
|
||||
<$> SQL.statement tSchema (DbStructure.accessibleTables ctxPgVersion configDbPreparedStatements)
|
||||
<$> SQL.statement [tSchema] (DbStructure.accessibleTables ctxPgVersion configDbPreparedStatements)
|
||||
<*> SQL.statement tSchema (DbStructure.accessibleProcs ctxPgVersion configDbPreparedStatements)
|
||||
<*> SQL.statement tSchema (DbStructure.schemaDescription configDbPreparedStatements)
|
||||
OAIgnorePriv ->
|
||||
|
||||
Reference in New Issue
Block a user