graphql-engine/server/src-lib/Hasura/Backends/Postgres
Swann Moreau d3611af58d server: lazy event catalog initialisation
event catalog:
- `hdb_catalog` is no longer automatically created
- catalog is initialised when the first event trigger is created
- catalog initialisation is done during the schema cache build, using `ArrowCache` so it is only run in response to a change to the set of event triggers

event queue:
- `processEventQueue` thread is prevented from starting when `HASURA_GRAPHQL_EVENTS_FETCH_INTERVAL=0`
- `processEventQueue` thread only processes sources for which at least one event trigger exists in some table in the source

Co-authored-by: Anon Ray <616387+ecthiender@users.noreply.github.com>
GitOrigin-RevId: 73f256465d62490cd2b59dcd074718679993d4fe
2021-05-25 06:51:03 +00:00
..
DDL server: lazy event catalog initialisation 2021-05-25 06:51:03 +00:00
Execute server: rewrite remote input parsers to deal with partial variable expansion (fix hasura/graphql-engine#6656) 2021-05-24 20:13:47 +00:00
Instances server: fix referenced session vars for live queries when UDF has specified session argument 2021-05-24 07:34:33 +00:00
SQL server/citus: feature branch 2021-05-21 02:47:51 +00:00
Translate server/citus: feature branch 2021-05-21 02:47:51 +00:00
Types server/citus: feature branch 2021-05-21 02:47:51 +00:00
Connection.hs server/citus: feature branch 2021-05-21 02:47:51 +00:00
DDL.hs server: introduce Hasura.Base (take 2) 2021-05-11 15:19:33 +00:00