-----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160
> I have a need to test timeouts in JDBC, is there a query that is > guaranteed not to return ? Not *never*, but close enough: select pg_sleep(999999999999999999999999999999999999999999999999); Or if you want to be strict: CREATE FUNCTION noreturn() RETURNS VOID LANGUAGE plperl AS $$ while (1) { select (undef,undef,undef,0.1) } $$; - -- Greg Sabino Mullane g...@turnstep.com End Point Corporation http://www.endpoint.com/ PGP Key: 0x14964AC8 201109191104 http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8 -----BEGIN PGP SIGNATURE----- iEYEAREDAAYFAk53WvYACgkQvJuQZxSWSsiItACg+BXmjoR9ecJWuU/AOka+/CBX rAcAoOQi0MhHk0cWp2aFc87yvZOyY5T1 =wnlW -----END PGP SIGNATURE----- -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers