Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method Sql.pgsql()->settimeout()


Method settimeout

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, and thus it is not available through the generic SQL-interface.