Search Postgresql Archives

Re: set local statement_timeout within a stored procedure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Abraham, Danny" <danny_abraham@xxxxxxx> writes:
> Is there a way to integrate " set local statement_timeout" in a stored procedure?

Not usefully.  statement_timeout bounds the time spent for a single
command sent by the client.  So by the time you're inside a procedure,
the countdown is already running (or not) for the current command, and
it's too late to change it with effect for that command.

			regards, tom lane






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux