Merge pull request #4982 from bnjmnt4n/docker/postgrest-notify

docker: properly notify PostgREST to reload schema cache on DDL command end
This commit is contained in:
Copple authored and GitHub committed 2022-01-14 16:41:23 +01:00
commit dccea01a1d
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ RETURNS event_trigger
LANGUAGE plpgsql
AS $$
BEGIN
NOTIFY ddl_command_end;
NOTIFY pgrst, 'reload schema';
END;
$$;
CREATE EVENT TRIGGER api_restart ON ddl_command_end