You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<?php// Connect$conn = pg_connect("dbname='somedb'");
// Send a postgres sleep query (or anything long running query)pg_send_query($conn, "SELECT pg_sleep(5)");
// Set PHP max execution time less than aboveset_time_limit(2);
// Waiting for query to complete (but fails and error is shown)$res = pg_get_result($conn);
// Never printedecho"OK";
Resulted in this output:
PHP Fatal error: maximum execution time of 2 seconds exceeded