Method Sql.pgsql()->settimeout() Method settimeout final int settimeout(void|int newtimeout) Parameter newtimeout Sets the new timeout for long running queries. Returns The previous timeout. Note This function is PostgreSQL-specific.