<?php pg_trace( string $filename, string $mode = "w", ?PgSql\Connection $connection = null, int $trace_mode = 0): bool