···46 - `postgresqlEnableTCP`: set to `1` to enable TCP listening. Flaky; not recommended.
47 - `postgresqlStartCommands`: defaults to `pg_ctl start`.
4800000049## TCP and the Nix sandbox {#sec-postgresqlTestHook-tcp}
5051`postgresqlEnableTCP` relies on network sandboxing, which is not available on macOS and some custom Nix installations, resulting in flaky tests.
···46 - `postgresqlEnableTCP`: set to `1` to enable TCP listening. Flaky; not recommended.
47 - `postgresqlStartCommands`: defaults to `pg_ctl start`.
4849+## Hooks {#sec-postgresqlTestHook-hooks}
50+51+A number of additional hooks are ran in postgresqlTestHook
52+53+ - `postgresqlTestSetupPost`: ran after postgresql has been set up.
54+55## TCP and the Nix sandbox {#sec-postgresqlTestHook-tcp}
5657`postgresqlEnableTCP` relies on network sandboxing, which is not available on macOS and some custom Nix installations, resulting in flaky tests.